# HG changeset patch # User wenzelm # Date 1331564640 -3600 # Node ID 162b0c46c5591a7cb0214373070d73338a308a5e # Parent 993c413746f4e120897f82a06bd662a673bba7d8 updated polyml/build option to prefer included libffi; diff -r 993c413746f4 -r 162b0c46c559 Admin/polyml/build --- 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=()