Files
Ryan Schmidt 3e54140ebd memcached-devel: Don't use -Werror
Add patch from memcached port to avoid using -Werror since it can cause
builds to fail when using compilers different from the ones the
developers tested with.
2022-04-23 01:44:42 -05:00

13 lines
506 B
Diff

Do not use -Werror.
--- configure.orig 2022-03-29 23:33:02.000000000 -0500
+++ configure 2022-04-23 00:50:10.000000000 -0500
@@ -7328,7 +7328,7 @@
elif test "$GCC" = "yes"
then
GCC_VERSION=`$CC -dumpversion`
- CFLAGS="$CFLAGS -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
+ CFLAGS="$CFLAGS -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
if test "x$enable_asan" = "xyes"; then
CFLAGS="$CFLAGS -fsanitize=address"
fi