projects
/
OSXPackageBuilder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjusted compilation optimisation flags to tune per target processor. Multi-architect...
[OSXPackageBuilder.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index
9644b47
..
d7b12dd
100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-36,7
+36,7
@@
# must provide target
#
if [ $# -eq 0 -o $# -gt 2 ]; then
# must provide target
#
if [ $# -eq 0 -o $# -gt 2 ]; then
- echo "Usage: $0 lion | snowleopardx64 | snowleopard | snowleopardi386 | leopardupwards | leopard | leopardi386 | leopardppc | tiger | panther [-pcre]"
+ echo "Usage: $0 lion | snowleopardx64 | snowleopard | snowleopardi386 | leopardupwards | leopard | leopardi386 | leopardppc | tiger |
tigeri386 | tigerppc |
panther [-pcre]"
exit 1
fi
exit 1
fi
@@
-84,10
+84,10
@@
fi
echo ""
echo "Notice: configuring the privoxy software."
cd ../${SOURCE_DIR}
echo ""
echo "Notice: configuring the privoxy software."
cd ../${SOURCE_DIR}
-
/usr/bin/
autoheader
-
/usr/bin/
autoconf
+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
#
# clean, then make privoxy