aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-jna/disable-Werror.patch
blob: 70f42bc5ff12de56f87daa449ce6b593832160ba (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/native/Makefile
+++ b/native/Makefile
@@ -336,7 +336,7 @@
 ifeq ($(CC),gcc)
     GCC_MAJOR_VERSION = $(shell gcc -dumpversion | cut -f 1 -d '.')
     ifneq ($(GCC_MAJOR_VERSION),4)
-	LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable
+	LOC_CC_OPTS=-Wno-unknown-warning-option -Wno-clobbered -Wno-unused-variable
     endif
 else
     LOC_CC_OPTS=-Wno-unknown-warning-option -Werror -Wno-clobbered -Wno-unused-variable