Force -O0 on -d, since llvm-gcc has a default of -O2
authorDennis Schafroth <dennis@indexdata.com>
Fri, 20 Apr 2012 08:48:48 +0000 (10:48 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 20 Apr 2012 08:48:48 +0000 (10:48 +0200)
buildconf.sh

index ac1f580..fdadda8 100755 (executable)
@@ -61,7 +61,7 @@ sh_flags=""
 conf_flags=""
 case $1 in
     -d)
-       sh_cflags="-g -Wall -Wdeclaration-after-statement -Wstrict-prototypes"
+       sh_cflags="-O0 -g -Wall -Wdeclaration-after-statement -Wstrict-prototypes"
        sh_cxxflags="-g -Wall"
        enable_configure=true
        enable_help=false