add to build script commentary about -g3 and -O0 flags and dynamic core

This commit is contained in:
Jonathan Campbell
2014-04-22 23:16:02 -07:00
parent a50cb931a7
commit 49269ee061

View File

@@ -4,6 +4,7 @@ chmod +x configure
export CFLAGS="$CFLAGS -g3 -O0 -fno-inline -fno-omit-frame-pointer"
export CXXFLAGS="$CXXFLAGS -g3 -O0 -fno-inline -fno-omit-frame-pointer"
./configure --enable-core-inline --enable-debug=heavy --prefix=/usr || exit 1
# NTS: --disable-dynamic-core is needed. the dynamic core doesn't work properly with the CFLAGS given above
./configure --enable-core-inline --enable-debug=heavy --prefix=/usr --disable-dynamic-core || exit 1
make -j3 || exit 1