fix profile; set CCLD as CC
This commit is contained in:
parent
f32a2a9edc
commit
0a7fc60953
2 changed files with 2 additions and 5 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
# Compile commands
|
||||
CC=gcc
|
||||
CCLD=gcc
|
||||
CCLD=$(CC)
|
||||
RM=rm -f
|
||||
MAKE=make
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue