mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 05:37:14 -08:00
Signed-off-by: Brett A C Sheffield <bacs@librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/2214 Merges: https://codeberg.org/gentoo/gentoo/pulls/2214 Signed-off-by: Sam James <sam@gentoo.org>
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -2755,7 +2755,7 @@ if test "z$enable_pedantic" = "zno" ; then
|
|
AC_MSG_RESULT([disabled])
|
|
elif test "z$build_with_gcc" = "zyes" ; then
|
|
dnl Flags supported since GCC 3.x (always available in any modern GCC)
|
|
- CFLAGS="$CFLAGS -O -pedantic -pedantic-errors -W -Wall -Wextra"
|
|
+ CFLAGS="$CFLAGS -pedantic -W -Wall -Wextra"
|
|
CFLAGS="$CFLAGS -fno-inline"
|
|
CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -Wformat-nonliteral"
|
|
CFLAGS="$CFLAGS -Wconversion -Wunused -Wshadow -Wpointer-arith -Wcast-align"
|
|
@@ -2782,7 +2782,7 @@ elif test "z$build_with_gcc" = "zyes" ; then
|
|
AC_MSG_RESULT([yes])
|
|
elif test "z$build_with_clang" = "zyes" ; then
|
|
dnl Flags supported since Clang 3.x (always available in any modern Clang)
|
|
- CFLAGS="$CFLAGS -O -pedantic -pedantic-errors -W -Wall -Wextra"
|
|
+ CFLAGS="$CFLAGS -pedantic -W -Wall -Wextra"
|
|
CFLAGS="$CFLAGS -fno-inline"
|
|
CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -Wformat-nonliteral"
|
|
CFLAGS="$CFLAGS -Wconversion -Wunused -Wshadow -Wpointer-arith -Wcast-align"
|