summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 4 insertions, 1 deletions
diff --git a/acprep b/acprep
index de279ab1..12dc1789 100755
--- a/acprep
+++ b/acprep
@@ -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