miredo: Makefile fixes

* Reorder PKG_* variables
* Disable format-security error in common way

Signed-off-by: Nikita Vostokov <yawosk@yandex.com>
This commit is contained in:
Nikita Vostokov 2020-03-15 13:56:13 +03:00
parent 5370088eca
commit 7a1e337f39

View file

@ -7,15 +7,17 @@ PKG_RELEASE:=1
PKG_SOURCE:=miredo-$(PKG_VERSION).tar.xz PKG_SOURCE:=miredo-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.remlab.net/files/miredo/ PKG_SOURCE_URL:=https://www.remlab.net/files/miredo/
PKG_HASH:=fa26d2f4a405415833669e2e2e22677b225d8f83600844645d5683535ea43149 PKG_HASH:=fa26d2f4a405415833669e2e2e22677b225d8f83600844645d5683535ea43149
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CONFIG_DEPENDS := \ PKG_CONFIG_DEPENDS:= \
CONFIG_IPV6 \ CONFIG_IPV6 \
CONFIG_TUN CONFIG_TUN
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
PKG_CHECK_FORMAT_SECURITY:=0
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_MAINTAINER:= PKG_MAINTAINER:=
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -29,8 +31,7 @@ CONFIGURE_ARGS+= \
TARGET_CFLAGS+= $(FPIC) \ TARGET_CFLAGS+= $(FPIC) \
-ffunction-sections \ -ffunction-sections \
-fdata-sections \ -fdata-sections
-Wno-format-security
TARGET_LDFLAGS += -Wl,--gc-sections TARGET_LDFLAGS += -Wl,--gc-sections