diff mbox series

[Do-Not-Apply,v1] package/mosquitto: disable -fPIC compile option

Message ID 20201102162948.23132-1-ps.report@gmx.net
State New
Headers show
Series [Do-Not-Apply,v1] package/mosquitto: disable -fPIC compile option | expand

Commit Message

Peter Seiderer Nov. 2, 2020, 4:29 p.m. UTC
- add hack/patch to disable '-fPIC' compile option (for BINFMT_FLAT)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/mosquitto/0001-disable-fpic.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 package/mosquitto/0001-disable-fpic.patch
diff mbox series

Patch

diff --git a/package/mosquitto/0001-disable-fpic.patch b/package/mosquitto/0001-disable-fpic.patch
new file mode 100644
index 0000000000..a9df4c4435
--- /dev/null
+++ b/package/mosquitto/0001-disable-fpic.patch
@@ -0,0 +1,15 @@ 
+diff --git a/config.mk b/config.mk
+index 80e02f9..67c2891 100644
+--- a/config.mk
++++ b/config.mk
+@@ -187,8 +187,8 @@ ifeq ($(UNAME),SunOS)
+ 		LIB_CXXFLAGS:=$(LIB_CXXFLAGS) -fPIC
+ 	endif
+ else
+-	LIB_CFLAGS:=$(LIB_CFLAGS) -fPIC
+-	LIB_CXXFLAGS:=$(LIB_CXXFLAGS) -fPIC
++	LIB_CFLAGS:=$(LIB_CFLAGS)
++	LIB_CXXFLAGS:=$(LIB_CXXFLAGS)
+ endif
+ 
+ ifneq ($(UNAME),SunOS)