ports/devel/liberasurecode/files/patch-src_Makefile.am
Roman Bogorodskiy e4e637983f devel/liberasurecode: fix build on CURRENT
Even though there's a configure switch "--disable-werror" to disable
-Werror in CFLAGS, it's still hardcoded for some targets and
causes build failure on CURRENT, so remove this hardcode.

PR:		218629
Submitted by:	maintainer
2017-04-15 03:24:23 +00:00

11 lines
433 B
Text

--- src/Makefile.am.orig 2017-04-14 13:42:39 UTC
+++ src/Makefile.am
@@ -28,7 +28,7 @@ liberasurecode_la_SOURCES = \
builtin/rs_vand/rs_galois.c \
backends/shss/shss.c
-liberasurecode_la_CPPFLAGS = -Werror @GCOV_FLAGS@
+liberasurecode_la_CPPFLAGS = @GCOV_FLAGS@
liberasurecode_la_LIBADD = \
builtin/null_code/libnullcode.la -lpthread -lm @GCOV_LDFLAGS@ \
builtin/xor_codes/libXorcode.la -lpthread -lm @GCOV_LDFLAGS@ \