From bbdaf91d365f7f221de25805c02b0d59af25e8a0 Mon Sep 17 00:00:00 2001 From: Ian Silvester Date: Sat, 31 Dec 2016 17:24:03 +0000 Subject: [PATCH] Added compilation optimisation flags to improve performance at the cost of increased binary size --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 2b0b72e..d7b12dd 100755 --- a/build.sh +++ b/build.sh @@ -87,7 +87,7 @@ cd ../${SOURCE_DIR} autoheader autoconf -/usr/bin/env CFLAGS="${CFLAGS} ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" LDFLAGS="${LDFLAGS} ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" ./configure ${OPTS} +/usr/bin/env CFLAGS="-O2 -mdynamic-no-pic ${CFLAGS} ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" LDFLAGS="${LDFLAGS} ${SYSROOT} ${ARCH} ${MACOSX_VERSION}" ./configure ${OPTS} # # clean, then make privoxy -- 2.39.2