minor C++ build tweaks

git-svn-id: https://zxing.googlecode.com/svn/trunk@1971 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
smparkes@smparkes.net 2011-10-14 12:34:33 +00:00
parent 27a047ebe2
commit 6d2e7ab5ca
3 changed files with 3 additions and 2 deletions

1
cpp/.gitignore vendored
View file

@ -1,3 +1,4 @@
/build
/.sconsign.dblite
xcuserdata
callgrind.out.*

View file

@ -1 +1 @@
--memcheck:leak-check=full --suppressions=.valgrind.supp --gen-suppressions=all
--memcheck:leak-check=full --memcheck:suppressions=.valgrind.supp --memcheck:gen-suppressions=all

View file

@ -13,7 +13,7 @@ if debug:
#compile_options['CPPDEFINES'] = "-DDEBUG"
flags.append("-O0 -g3 -ggdb -Wall")
else:
flags.append("-O -g3 -Wall")
flags.append("-Os -g3 -Wall")
if env['PIC']:
flags.append("-fPIC")