[axel-commits] r75 - /branches/2.x/configure
phihag-guest at users.alioth.debian.org
phihag-guest at users.alioth.debian.org
Mon Dec 29 12:15:04 UTC 2008
Author: phihag-guest
Date: Mon Dec 29 12:15:04 2008
New Revision: 75
URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=75
Log:
synchronization to trunk:
configure: Compile with -Os by default, look up environment variable CC before using gcc
Modified:
branches/2.x/configure
Modified: branches/2.x/configure
URL: http://svn.debian.org/wsvn/axel/branches/2.x/configure?rev=75&op=diff
==============================================================================
--- branches/2.x/configure (original)
+++ branches/2.x/configure Mon Dec 29 12:15:04 2008
@@ -85,7 +85,7 @@
fi;
fi
-echo 'CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g' >> Makefile.settings
+echo 'CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Os' >> Makefile.settings
if [ "$debug" = "1" ]; then
echo 'DEBUG=1' >> Makefile.settings
echo '#define DEBUG' >> config.h;
@@ -100,7 +100,9 @@
fi;
fi
-if type gcc > /dev/null 2> /dev/null; then
+if [ "${CC}" != "" ]; then
+ echo "CC=${CC}" >> Makefile.settings;
+elif type gcc > /dev/null 2> /dev/null; then
echo "CC=gcc" >> Makefile.settings;
elif type cc > /dev/null 2> /dev/null; then
echo "CC=cc" >> Makefile.settings;
More information about the axel-commits
mailing list