aggregate: respect CFLAGS, LDFLAGS
authorAlexander Ryzhov <github@ryzhov-al.ru>
Wed, 23 Jan 2019 07:06:32 +0000 (10:06 +0300)
committerAlexander Ryzhov <github@ryzhov-al.ru>
Wed, 23 Jan 2019 07:06:32 +0000 (10:06 +0300)
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
net/aggregate/Makefile
net/aggregate/patches/500-cross_compile_flags.patch [new file with mode: 0644]

index 1eb3d2ee7621a245b1f1ef3cb466c6a9af908841..c20f95bae7cb296c75cc781451b0cd2f24cdb451 100644 (file)
@@ -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 (file)
index 0000000..b7392fb
--- /dev/null
@@ -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