From 9db9876b29ffbfff9372208a29fbef3714172c00 Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Fri, 24 Aug 2007 09:30:26 +0200 Subject: [PATCH] Set CFLAGS to "-g -Wall" only if CC is gcc. --- config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 4048ccd..4214efd 100755 --- a/config.sh +++ b/config.sh @@ -85,7 +85,7 @@ fi echo "CC=$CC" >> makefile.opts # set cflags -if [ "$CFLAGS" = "" ] ; then +if [ "$CFLAGS" = "" -a "$CC" = "gcc" ] ; then CFLAGS="-g -Wall" fi -- 2.11.4.GIT