ercpe       14/11/13 15:11:53

  Added:                jnr-ffi-0.7.11-flags.patch
  Log:
  Added patch to strip -Werror from compile flags (bug #528780)
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
77C501ED)

Revision  Changes    Path
1.1                  dev-java/jnr-ffi/files/jnr-ffi-0.7.11-flags.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-ffi/files/jnr-ffi-0.7.11-flags.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-ffi/files/jnr-ffi-0.7.11-flags.patch?rev=1.1&content-type=text/plain

Index: jnr-ffi-0.7.11-flags.patch
===================================================================
diff --git a/jnr-ffi-0.7.11/libtest/GNUmakefile 
b/jnr-ffi-0.7.11/libtest/GNUmakefile
index 1906219..c9a9c11 100644
--- a/jnr-ffi-0.7.11/libtest/GNUmakefile
+++ b/jnr-ffi-0.7.11/libtest/GNUmakefile
@@ -37,10 +37,10 @@ TEST_OBJS := $(patsubst $(SRC_DIR)/%.c, 
$(TEST_BUILD_DIR)/%.o, $(TEST_SRCS))
 # Compiler/linker flags from:
 #   
http://weblogs.java.net/blog/kellyohair/archive/2006/01/compilation_of_1.html
 JFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing
-OFLAGS = -O2 $(JFLAGS)
-WFLAGS = -W -Werror -Wall -Wno-unused -Wno-parentheses
+OFLAGS = $(JFLAGS)
+WFLAGS = -W -Wall -Wno-unused -Wno-parentheses
 PICFLAGS = -fPIC
-SOFLAGS = -shared -Wl,-O1
+SOFLAGS = -shared
 LDFLAGS += $(SOFLAGS)
 
 IFLAGS = -I"$(BUILD_DIR)"




Reply via email to