379 |
if test "$GCC" = "yes" ; then |
if test "$GCC" = "yes" ; then |
380 |
TCFLAGS="$TCFLAGS -fwritable-strings -pipe" |
TCFLAGS="$TCFLAGS -fwritable-strings -pipe" |
381 |
fi |
fi |
382 |
|
if test -f /proc/sys/kernel/exec-shield ; then |
383 |
|
exec_stat=`cat /proc/sys/kernel/exec-shield` |
384 |
|
if test "$exec_stat" != "0" ; then |
385 |
|
TCFLAGS="$TCFLAGS -Wa,--execstack" |
386 |
|
fi |
387 |
|
fi |
388 |
|
|
389 |
TO3FLAGS="" |
TO3FLAGS="" |
390 |
TO2FLAGS="" |
TO2FLAGS="" |
391 |
if test "$enable_debug" = "yes" ; then |
if test "$enable_debug" = "yes" ; then |
392 |
TCFLAGS="$TCFLAGS -g" |
TCFLAGS="$TCFLAGS -g" |
393 |
# for subconfigurations |
# for subconfigurations |
394 |
CFLAGS=-g |
CFLAGS="$CFLAGS -g" |
395 |
else |
else |
396 |
TO3FLAGS="-O3 -fomit-frame-pointer" |
TO3FLAGS="-O3 -fomit-frame-pointer" |
397 |
TO2FLAGS="-O" |
TO2FLAGS="-O" |