Commit: adca726ddc7b32cf23f24d4292f55fc9492cadda
Parent: fc1a6c24948096a82f017a870051c6b3ca2b70af
Author: Randy Palamar
Date: Sun, 25 Aug 2024 23:00:33 -0600
make sure test is always built with debug symbols
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
@@ -5,10 +5,12 @@ debug=${DEBUG}
cflags="-march=native -O3 -Wall"
cflags="$cflags $(pkg-config --cflags glfw3 gl fontconfig)"
+#cflags="${cflags} -fproc-stat-report"
+#cflags="${cflags} -Rpass-missed=.*"
ldflags=""
ldflags="$ldflags $(pkg-config --static --libs glfw3 gl fontconfig)"
-testcflags="$cflags -D_DEBUG -Wno-unused-function -Wno-undefined-internal"
+testcflags="$cflags -O0 -ggdb -D_DEBUG -Wno-unused-function -Wno-undefined-internal"
[ ! -s "./config.h" ] && cp config.def.h config.h