X-Git-Url: http://www.privoxy.org/gitweb/index.html?p=OSXPackageBuilder.git;a=blobdiff_plain;f=build.sh;h=d7b12ddf2b2a7f8841fc206746881005ba85b06a;hp=2b0b72ecc23ee98633e3bc53071d1f3e8a2a3312;hb=bbdaf91d365f7f221de25805c02b0d59af25e8a0;hpb=03f0fcaf477dc65cae8605eeffe53f8862f8ce81 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