projects
/
openwrt
/
staging
/
chunkeey.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa2980b
)
libnfnetlink: Avoid passing both -fPIC and -fpic
author
Rosen Penev
<
[email protected]
>
Tue, 27 Aug 2019 22:49:22 +0000
(15:49 -0700)
committer
Jo-Philipp Wich
<
[email protected]
>
Wed, 4 Sep 2019 11:45:26 +0000
(13:45 +0200)
Instead, instruct the configure script to use $(FPIC) only.
Mixing -fPIC and -fpic can cause issues on some platforms like PPC.
Signed-off-by: Rosen Penev <
[email protected]
>
(cherry picked from commit
926157c2ccb02aa06b343662ecbd2571faf6eddd
)
package/libs/libnfnetlink/Makefile
patch
|
blob
|
history
diff --git
a/package/libs/libnfnetlink/Makefile
b/package/libs/libnfnetlink/Makefile
index cc797e6e2d17261cd82984d78e37eb05827e76b8..7d65d6385784e3d418f714386efe505b905c3b3e 100644
(file)
--- a/
package/libs/libnfnetlink/Makefile
+++ b/
package/libs/libnfnetlink/Makefile
@@
-9,7
+9,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=libnfnetlink
PKG_VERSION:=1.0.1
-PKG_RELEASE:=
2
+PKG_RELEASE:=
3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:= \
@@
-40,12
+40,13
@@
define Package/libnfnetlink/description
and/or management tools in userspace.
endef
-TARGET_CFLAGS += $(FPIC)
-
CONFIGURE_ARGS += \
--enable-static \
--enable-shared
+CONFIGURE_VARS += \
+ lt_prog_compiler_pic=$(FPIC)
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/libnfnetlink
$(CP) \