Blame SOURCES/0001-Adapt-build.patch

220db9
From 52ef407584801916d6e60c4f4c5411023b5ac369 Mon Sep 17 00:00:00 2001
220db9
From: Michael Simacek <msimacek@redhat.com>
220db9
Date: Mon, 16 Jan 2017 11:29:06 +0100
220db9
Subject: [PATCH 1/6] Adapt build
220db9
220db9
---
220db9
 native/Makefile | 3 +--
220db9
 1 file changed, 1 insertion(+), 2 deletions(-)
220db9
220db9
diff --git a/native/Makefile b/native/Makefile
220db9
index 6f9ad25..3712a9e 100644
220db9
--- a/native/Makefile
220db9
+++ b/native/Makefile
220db9
@@ -97,7 +97,7 @@ CDEFINES=-D_REENTRANT
220db9
 PCFLAGS=-W -Wall -Wno-unused -Wno-parentheses
220db9
 CFLAGS=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \
220db9
        -DJNA_JNI_VERSION='"$(JNA_JNI_VERSION)"' -DCHECKSUM='"$(CHECKSUM)"'
220db9
-LDFLAGS=-o $@ -shared
220db9
+LDFLAGS=$(RPM_LD_FLAGS) -o $@ -shared
220db9
 ifeq ($(DYNAMIC_LIBFFI),true)
220db9
 CFLAGS += $(shell pkg-config --cflags libffi 2>/dev/null || echo)
220db9
 LIBS += $(shell pkg-config --libs libffi 2>/dev/null || echo -lffi)
220db9
@@ -455,7 +455,6 @@ $(BUILD)/$(JNA_JNI_VERSION).stamp:
220db9
 
220db9
 $(LIBRARY): $(JNIDISPATCH_OBJS) $(FFI_LIB)
220db9
 	$(LD) $(LDFLAGS) $(JNIDISPATCH_OBJS) $(FFI_LIB) $(LIBS)
220db9
-	$(STRIP) $@
220db9
 
220db9
 $(TESTLIB): $(BUILD)/testlib.o
220db9
 	$(LD) $(LDFLAGS) $< $(LIBS)
220db9
-- 
220db9
2.14.3
220db9