--- a/Admin/polyml/build Thu Aug 19 18:44:26 2010 +0200
+++ b/Admin/polyml/build Fri Aug 20 15:29:36 2010 +0200
@@ -52,11 +52,13 @@
;;
x86-darwin)
OPTIONS=(--build=i686-darwin CFLAGS='-arch i686 -O3'
- CXXFLAGS='-arch i686 -O3' CCASFLAGS='-arch i686 -O3')
+ CXXFLAGS='-arch i686 -O3' CCASFLAGS='-arch i686 -O3'
+ LDFLAGS='-segprot POLY rwx rwx')
;;
x86_64-darwin)
OPTIONS=(--build=x86_64-darwin CFLAGS='-arch x86_64 -O3'
- CXXFLAGS='-arch x86_64 -O3' CCASFLAGS='-arch x86_64')
+ CXXFLAGS='-arch x86_64 -O3' CCASFLAGS='-arch x86_64'
+ LDFLAGS='-segprot POLY rwx rwx')
;;
x86-cygwin)
OPTIONS=()