no -fomit.. with profiling

This commit is contained in:
joonicks 2025-11-05 20:02:00 +01:00
parent 2e0d50d4f0
commit d934b3a063

2
configure vendored
View File

@ -616,6 +616,7 @@ if [ -z "$cf_cflags" -a -n "$cf_GNUCC" ]; then
# #
# -fomit-frame-pointer # -fomit-frame-pointer
# #
if [ ! "$ft_prof" = yes ]; then
if [ -z "$cc_ofp_opt" -o "$cc_ofp_opt" = 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 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 cc_ofp_flag=-fomit-frame-pointer
@ -623,6 +624,7 @@ if [ -z "$cf_cflags" -a -n "$cf_GNUCC" ]; then
fi fi
fi fi
fi fi
fi
if [ -z "$cf_cflags" -a -z "$cc_pipe_opt" ]; then if [ -z "$cf_cflags" -a -z "$cc_pipe_opt" ]; then
if $CC -pipe -c -o $TESTO $TESTC 1> /dev/null 2> /dev/null && test -r $TESTO; then if $CC -pipe -c -o $TESTO $TESTC 1> /dev/null 2> /dev/null && test -r $TESTO; then