[jffi-next] 05/49: Allow easy work-out of WERROR during build, as it might not be good for packagers to be around.
Tim Potter
tpot-guest at moszumanska.debian.org
Wed Mar 4 04:51:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to annotated tag upstream/1.0.10
in repository jffi-next.
commit 19d94b770800c369d485db79de2ff7286a0058ac
Author: Diego Elio 'Flameeyes' Pettenò <flameeyes at gmail.com>
Date: Tue May 25 20:42:19 2010 +0800
Allow easy work-out of WERROR during build, as it might not be good for packagers to be around.
---
jni/GNUmakefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/jni/GNUmakefile b/jni/GNUmakefile
index 87d1ef1..c6bb443 100755
--- a/jni/GNUmakefile
+++ b/jni/GNUmakefile
@@ -64,8 +64,9 @@ JFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG
OFLAGS = -O2 $(JFLAGS)
# MacOS headers aren't completely warning free, so turn them off
+WERROR = -Werror
ifneq ($(OS),darwin)
- WFLAGS += -Wundef -Werror
+ WFLAGS += -Wundef $(WERROR)
endif
WFLAGS += -W -Wall -Wno-unused -Wno-parentheses
PICFLAGS = -fPIC
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jffi-next.git
More information about the pkg-java-commits
mailing list