1configure: remove predefined -O2 optimization flag
2
3CFLAGS_OPT variable forces to use -O2 optimization flag denying the
4possibility to use different optimization flag values.
5
6Remove -O2 flag from CFLAGS_OPT.
7
8Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
9---
10diff -urpN prboom-2.5.0.orig/configure.ac prboom-2.5.0/configure.ac
11--- prboom-2.5.0.orig/configure.ac	2019-06-20 14:07:45.058481879 +0200
12+++ prboom-2.5.0/configure.ac	2019-06-20 14:09:05.066238825 +0200
13@@ -48,7 +48,7 @@ else
14 fi
15
16 dnl --- cph: work out flags to pass to compiler
17-CFLAGS_OPT="-O2 -fomit-frame-pointer"
18+CFLAGS_OPT="-fomit-frame-pointer"
19 AC_C_COMPILE_FLAGS(-Wall)
20 dnl --- Option to enable debugging
21 AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[turns on various debugging features, like range checking and internal heap diagnostics]),,enable_debug="no")
22