gentoo/dev-libs/libcdada/files/libcdada-0.3.4-Werror.patch
John Helmert III 1b6e4f1b6d
dev-libs/libcdada: fix -Werror, drop static binaries
Closes: https://bugs.gentoo.org/781887
Closes: https://bugs.gentoo.org/781890
Signed-off-by: John Helmert III <ajak@gentoo.org>
2021-04-09 21:14:51 -05:00

25 lines
688 B
Diff

diff --git a/configure.ac b/configure.ac
index f2c4dde..fbde89c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ AC_INIT(LIBCDADA, m4_esyscmd_s(cat VERSION), marcdevel@gmail.com, libcdada, http
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
AC_GNU_SOURCE
@@ -24,8 +24,8 @@ LT_INIT
AC_ENABLE_STATIC
# Some useful default flags
-CFLAGS="-std=gnu89 -Werror -Wall $CFLAGS"
-CXXFLAGS="-Werror -Wall $CXXFLAGS"
+CFLAGS="-std=gnu89 -Wall $CFLAGS"
+CXXFLAGS="-Wall $CXXFLAGS"
AC_DEFINE([__STDC_FORMAT_MACROS], [], [Description])
# Check for Python3