Use -O0 to disable optimizations to provide more info when debugging
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 8 Sep 2015 22:12:30 +0000 (18:12 -0400)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 8 Sep 2015 22:12:30 +0000 (18:12 -0400)
and avoid potential optimization bugs.

ecl-gc-bug/build.sh

index 22b5472..0ae8eeb 100755 (executable)
@@ -1,11 +1,6 @@
-# AMD64
-export CFLAGS="-O2 -g"
+export CFLAGS="-O0 -g"
 export LDFLAGS='-g'
 
-# i686
-#export CFLAGS="-march=i686 -O2 -g
-#export LDFLAGS='-g'
-
 make distclean >/tmp/ecl-clean.txt 2>&1
 
 ./configure --prefix=/usr/local/gitlab-ecl --enable-unicode --enable-threads --with-__thread=no --enable-rpath --with-system-gmp --with-gmp-prefix=/usr/pkg --enable-boehm=included --with-dffi=system >/tmp/ecl-config.txt 2>&1