--- a/Admin/polyml/build Mon Mar 12 15:31:30 2012 +0100
+++ b/Admin/polyml/build Mon Mar 12 16:04:00 2012 +0100
@@ -51,14 +51,14 @@
OPTIONS=()
;;
x86-darwin)
- OPTIONS=(--build=i686-darwin CFLAGS='-arch i686 -O3'
- CXXFLAGS='-arch i686 -O3' CCASFLAGS='-arch i686 -O3'
+ OPTIONS=(--build=i686-darwin CFLAGS='-arch i686 -O3 -I../libffi/include'
+ CXXFLAGS='-arch i686 -O3 -I../libffi/include' 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'
- LDFLAGS='-segprot POLY rwx rwx')
+ OPTIONS=(--build=x86_64-darwin CFLAGS='-arch x86_64 -O3 -I../libffi/include'
+ CXXFLAGS='-arch x86_64 -O3 -I../libffi/include' CCASFLAGS='-arch x86_64'
+ LDFLAGS='-segprot POLY rwx rwx')
;;
x86-cygwin)
OPTIONS=()