fix profile; set CCLD as CC

This commit is contained in:
nehalmistry 2004-04-30 17:29:53 +00:00
parent f32a2a9edc
commit 0a7fc60953
2 changed files with 2 additions and 5 deletions

View file

@ -11,7 +11,7 @@
# Compile commands
CC=gcc
CCLD=gcc
CCLD=$(CC)
RM=rm -f
MAKE=make

View file

@ -80,10 +80,7 @@ AC_ARG_ENABLE(debug,
if test "$enable_debug" != "yes" -a "$enable_profile" != "yes"; then
DEBUG_CFLAGS="-O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math"
else
DEBUG_CFLAGS="-g -O1 -fsigned-char -Wsign-compare"
if test "$enable_debug" == "yes"; then
DEBUG_CFLAGS="$DEBUG_CFLAGS -Werror -Wall -DDEBUG"
fi
DEBUG_CFLAGS="-g -O1 -fsigned-char -Wsign-compare -Werror -Wall -DDEBUG"
fi
AC_SUBST(DEBUG_CFLAGS)