diff options
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -191,10 +191,13 @@ while [ -n "$1" ]; do #CXXFLAGS="$CXXFLAGS -Weffc++" CXXFLAGS="$CXXFLAGS -Wno-unused" - CXXFLAGS="$CXXFLAGS -Wno-shorten-64-to-32" CXXFLAGS="$CXXFLAGS -Wno-old-style-cast" CXXFLAGS="$CXXFLAGS -Wno-deprecated" + if [ $SYSTEM = Darwin ]; then + CXXFLAGS="$CXXFLAGS -Wno-shorten-64-to-32" + fi + #LDFLAGS="-Wl,-read_only_relocs,suppress" #LIBS="" #if [ -f /opt/local/lib/libexpat.a ]; then |