From: kramm Date: Sun, 21 Jan 2007 19:00:15 +0000 (+0000) Subject: --enable-debug now adds the -g to the linker X-Git-Tag: release-0-8-0~19 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=efdf56a3ae1b955ec55fffa42e8460307078ddb0 --enable-debug now adds the -g to the linker --- diff --git a/configure.in b/configure.in index d52900c..0d970e7 100644 --- a/configure.in +++ b/configure.in @@ -46,6 +46,7 @@ if test "x$DEBUG" '!=' "x";then if test "x$PROFILING" = "x";then CFLAGS="$WARNINGS -O2 -g $CFLAGS" CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS" + LDFLAGS="-g $LIBS" else CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS" CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"