add a make option to not strip debugging symbols
Subsystems (2)
PATCH 1/1 add a make option to not strip debugging symbols
Hi, Ian, list,
This patch was posed for v5 and was taken in. We should do something similar for v4. Guillaume noted that the build process is somewhat unorthodox, so perhaps we should fix it "the right way." However, I lack the cycles at the moment.
-Jeff
Makefile.rules +7 -1
@@ -22,10 +22,16 @@ CFLAGS = -O2 -g -DDEBUG LDFLAGS = -g STRIP = : else +ifdef DONTSTRIP +CFLAGS = -O2 -g +LDFLAGS = -g +STRIP = : +else # normal compile CFLAGS = -O3 -fomit-frame-pointer -Wall LDFLAGS = -s STRIP = strip --strip-debug -endif +endif # DONTSTRIP +endif # DEBUG CC = gcc CXX = g++
Quoted 6 lines · Jeff Moyer
Hi, Ian, list,
This patch was posed for v5 and was taken in. We should do something similar for v4. Guillaume noted that the build process is somewhat unorthodox, so perhaps we should fix it "the right way." However, I lack the cycles at the moment.
My own proposal of providing initial automake templates is still valid.