From: Dennis Schafroth Date: Fri, 20 Apr 2012 08:48:48 +0000 (+0200) Subject: Force -O0 on -d, since llvm-gcc has a default of -O2 X-Git-Tag: v1.6.13~25 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e45d63a7ac71f6d4e28d5d8554d83aa71ea463a5;p=pazpar2-moved-to-github.git Force -O0 on -d, since llvm-gcc has a default of -O2 --- diff --git a/buildconf.sh b/buildconf.sh index ac1f580..fdadda8 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -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