diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-06-10 14:55:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-10 14:55:57 +0300 |
commit | d6b44859f60a6eec89cacc2c0dd9835c386eb16d (patch) | |
tree | 82ae017ac99dee45508291fa584ae5b942b6ab02 /net | |
parent | 63dd87276f1a1f5aca5cfb311226fe210a392aa2 (diff) | |
parent | 48d9c84a994ef3ce44590dc5f5ee10eb17f3e094 (diff) |
Merge pull request #6231 from ldir-EDB0/fixminiupnpd
miniupnpd: fix build error when ASLR enabled
Diffstat (limited to 'net')
-rw-r--r-- | net/miniupnpd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 02f95541c..faba7a2d9 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=miniupnpd PKG_VERSION:=2.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=http://miniupnp.free.fr/files PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -40,7 +40,7 @@ define Build/Prepare endef TARGET_CFLAGS += -flto -ffunction-sections -fdata-sections -TARGET_LDFLAGS += -flto -Wl,--gc-sections +TARGET_LDFLAGS += $(FPIC) -flto -Wl,--gc-sections MAKE_FLAGS += \ TARGET_OPENWRT=1 TEST=0 LIBS="" \ CC="$(TARGET_CC) -DIPTABLES_143 -lip4tc -luuid \ |