From: Matthew Mondor Date: Tue, 8 Sep 2015 22:12:30 +0000 (-0400) Subject: Use -O0 to disable optimizations to provide more info when debugging X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=362c4bcb443691c82c4f20e335f2192e4e9cfd1b;p=ecl.git Use -O0 to disable optimizations to provide more info when debugging and avoid potential optimization bugs. --- diff --git a/ecl-gc-bug/build.sh b/ecl-gc-bug/build.sh index 22b5472..0ae8eeb 100755 --- a/ecl-gc-bug/build.sh +++ b/ecl-gc-bug/build.sh @@ -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