Browse Source

Merge pull request #6231 from ldir-EDB0/fixminiupnpd

miniupnpd: fix build error when ASLR enabled
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
d6b44859f6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      net/miniupnpd/Makefile

+ 2
- 2
net/miniupnpd/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=miniupnpd PKG_NAME:=miniupnpd
PKG_VERSION:=2.1 PKG_VERSION:=2.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=http://miniupnp.free.fr/files PKG_SOURCE_URL:=http://miniupnp.free.fr/files
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -40,7 +40,7 @@ define Build/Prepare
endef endef
TARGET_CFLAGS += -flto -ffunction-sections -fdata-sections TARGET_CFLAGS += -flto -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -flto -Wl,--gc-sections
TARGET_LDFLAGS += $(FPIC) -flto -Wl,--gc-sections
MAKE_FLAGS += \ MAKE_FLAGS += \
TARGET_OPENWRT=1 TEST=0 LIBS="" \ TARGET_OPENWRT=1 TEST=0 LIBS="" \
CC="$(TARGET_CC) -DIPTABLES_143 -lip4tc -luuid \ CC="$(TARGET_CC) -DIPTABLES_143 -lip4tc -luuid \


Loading…
Cancel
Save