--- config/get_cc.orig 2020-09-21 00:29:25.000000000 -0600
+++ config/get_cc 2020-10-19 15:07:44.937970813 -0600
@@ -93,7 +93,7 @@ if test -n "$__gnuc__"; then
cmd="$CC $CFLAGS $extraflag -fno-strict-aliasing -o $exe gnu.c"
. log_cmd
if test -s $exe; then
- OPTFLAGS="$OPTFLAGS -fno-strict-aliasing"
+ OPTFLAGS="@OPTFLAGS@ -fno-strict-aliasing"
fi
. cleanup_exe
case "$optimization" in
@@ -118,12 +118,6 @@ if test -n "$__gnuc__"; then
# omit-frame-pointer incompatible with -pg
PRFFLAGS="-pg $OPTFLAGS"
GCOVFLAGS="-fprofile-arcs -ftest-coverage"
- case "$optimization" in
- full) case "$osname" in
- mingw) ;;
- *) OPTFLAGS="$OPTFLAGS -fomit-frame-pointer";;
- esac;;
- esac
else
DBGFLAGS=${DBGFLAGS:-'-g'}
PRFFLAGS='-pg'