From: Alexander Ryzhov Date: Wed, 23 Jan 2019 07:06:32 +0000 (+0300) Subject: aggregate: respect CFLAGS, LDFLAGS X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7454478df3fb1c8775e9f89309a65eebef187512;p=feed%2Fpackages.git aggregate: respect CFLAGS, LDFLAGS Signed-off-by: Alexander Ryzhov --- diff --git a/net/aggregate/Makefile b/net/aggregate/Makefile index 1eb3d2ee76..c20f95bae7 100644 --- a/net/aggregate/Makefile +++ b/net/aggregate/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=aggregate PKG_VERSION:=1.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://ftp.isc.org/isc/aggregate/ diff --git a/net/aggregate/patches/500-cross_compile_flags.patch b/net/aggregate/patches/500-cross_compile_flags.patch new file mode 100644 index 0000000000..b7392fbb0f --- /dev/null +++ b/net/aggregate/patches/500-cross_compile_flags.patch @@ -0,0 +1,14 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -25,8 +25,9 @@ + INSTALL = @INSTALL@ + DEFS = @DEFS@ + LIBS = @LIBS@ +-CFLAGS = -O +-LDFLAGS = -s ++CFLAGS = @CFLAGS@ ++CPPFLAGS = @CPPFLAGS@ ++LDFLAGS = @LDFLAGS@ + prefix = @prefix@ + + SHELL = /bin/sh