summaryrefslogtreecommitdiff
path: root/math/form/files/patch-configure.ac
blob: 30b228134f2df6da963a1825aed319c74b1ee2f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.ac.orig	2022-11-15 09:35:49 UTC
+++ configure.ac
@@ -768,8 +768,6 @@ AC_DEFUN([AX_HANDLE_EXTRA_WARNING],
 		[$1="$$1 -Wno-misleading-indentation"])
 	# Too many false positives.
 	# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443
-	AX_CHECK_COMPILE_FLAG([-Wno-stringop-overflow],
-		[$1="$$1 -Wno-stringop-overflow"])
 fi[]dnl
 ])
 
@@ -780,7 +778,7 @@ if test "$my_test_COMPILEFLAGS" != set; then
 		COMPILEFLAGS="-Wall -Wextra -Wpadded"
 		AX_HANDLE_EXTRA_WARNING([COMPILEFLAGS])
 		# Enable optimizations.
-		COMPILEFLAGS="$COMPILEFLAGS -O3"
+		COMPILEFLAGS="$COMPILEFLAGS"
 		if test "x$enable_profile" != xgprof; then
 			# -pg conflicts with -fomit-frame-pointer.
 			COMPILEFLAGS="$COMPILEFLAGS -fomit-frame-pointer"