From d934b3a063afdb238b5697e720ddbda4135bd49f Mon Sep 17 00:00:00 2001 From: joonicks Date: Wed, 5 Nov 2025 20:02:00 +0100 Subject: [PATCH] no -fomit.. with profiling --- configure | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure b/configure index dce5984..243f9ef 100755 --- a/configure +++ b/configure @@ -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