mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
libnfnetlink: Avoid passing both -fPIC and -fpic
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 <rosenp@gmail.com>
This commit is contained in:
parent
e2ecf39e8e
commit
926157c2cc
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libnfnetlink
|
PKG_NAME:=libnfnetlink
|
||||||
PKG_VERSION:=1.0.1
|
PKG_VERSION:=1.0.1
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:= \
|
PKG_SOURCE_URL:= \
|
||||||
@ -40,12 +40,13 @@ define Package/libnfnetlink/description
|
|||||||
and/or management tools in userspace.
|
and/or management tools in userspace.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
|
|
||||||
|
CONFIGURE_VARS += \
|
||||||
|
lt_prog_compiler_pic=$(FPIC)
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/libnfnetlink
|
$(INSTALL_DIR) $(1)/usr/include/libnfnetlink
|
||||||
$(CP) \
|
$(CP) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user