gentoo-ebuilds/app-forensics/zzuf/files/zzuf-0.15_autoconf-hardcoded-cflags.patch
Marek Szuba 0bac9cd799
app-forensics/zzuf: add 0.15_p20220529
As far as upstream is concerned this snapshot is identical to _p20190208
apart from some typos in the documentation having been fixed. On the
Gentoo side, however, this ebuild adds support for building with
-Werror=implicit-function-declaration along with removing the previously
hard-coded '-g -O2' from compiler flags.

Closes: https://bugs.gentoo.org/871558
Signed-off-by: Marek Szuba <marecki@gentoo.org>
2023-08-20 00:06:41 +01:00

11 lines
389 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -39,8 +39,6 @@
AC_MSG_RESULT($SONAME)
AC_DEFINE_UNQUOTED(SONAME, "$SONAME", [Define to the libzzuf full name])
-# Optimizations
-AC_TRY_CFLAGS(-g -O2, CFLAGS="${CFLAGS} -g -O2")
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
AC_TRY_CFLAGS(-Wall, CFLAGS="${CFLAGS} -Wall")
AC_TRY_CFLAGS(-W, CFLAGS="${CFLAGS} -W")