mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-17 15:36:50 +00:00
no -fomit.. with profiling
This commit is contained in:
parent
2e0d50d4f0
commit
d934b3a063
10
configure
vendored
10
configure
vendored
@ -616,10 +616,12 @@ if [ -z "$cf_cflags" -a -n "$cf_GNUCC" ]; then
|
||||
#
|
||||
# -fomit-frame-pointer
|
||||
#
|
||||
if [ -z "$cc_ofp_opt" -o "$cc_ofp_opt" = yes ]; then
|
||||
if $CC -fomit-frame-pointer -c -o $TESTO $TESTC 1> /dev/null 2> /dev/null && test -r $TESTO; then
|
||||
cc_ofp_flag=-fomit-frame-pointer
|
||||
echo $ac_n "-fomit-frame-pointer "$ac_c
|
||||
if [ ! "$ft_prof" = yes ]; then
|
||||
if [ -z "$cc_ofp_opt" -o "$cc_ofp_opt" = yes ]; then
|
||||
if $CC -fomit-frame-pointer -c -o $TESTO $TESTC 1> /dev/null 2> /dev/null && test -r $TESTO; then
|
||||
cc_ofp_flag=-fomit-frame-pointer
|
||||
echo $ac_n "-fomit-frame-pointer "$ac_c
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user