[axel-commits] r101 - /trunk/configure

phihag-guest at users.alioth.debian.org phihag-guest at users.alioth.debian.org
Thu Apr 2 11:37:57 UTC 2009


Author: phihag-guest
Date: Thu Apr  2 11:37:56 2009
New Revision: 101

URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=101
Log:
Respect environment CFLAGS, and set -g only in debugging mode

Modified:
    trunk/configure

Modified: trunk/configure
URL: http://svn.debian.org/wsvn/axel/trunk/configure?rev=101&op=diff
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Thu Apr  2 11:37:56 2009
@@ -85,8 +85,9 @@
 	fi;
 fi
 
-echo 'CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Os' >> Makefile.settings
+echo "CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os ${CFLAGS}" >> Makefile.settings
 if [ "$debug" = "1" ]; then
+	echo 'CFLAGS+=-g' >> Makefile.settings
 	echo 'DEBUG=1' >> Makefile.settings
 	echo '#define DEBUG' >> config.h;
 fi




More information about the axel-commits mailing list