Skip to content

Commit d9741ba

Browse files
author
timlinux
committed
Build with no debugging for smaller distributeable bundle
git-svn-id: http://svn.osgeo.org/qgis/trunk@5526 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 12887dd commit d9741ba

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.mac.sh

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ then
2525
export CXXFLAGS="-g -Wall"
2626
#for mac fink users
2727
export CPPFLAGS=-I/sw/include
28+
else
29+
echo "Building without debug support"
30+
AUTOGEN_FLAGS="--disable-debug"
31+
export CFLAGS="-O2 -Wall"
32+
export CXXFLAGS="-O2 -Wall"
33+
#for mac fink users
34+
export CPPFLAGS=-I/sw/include
2835
fi
2936

3037
if [ x$2 = "static" ]

0 commit comments

Comments
 (0)