Browse Source

aggregate: respect CFLAGS, LDFLAGS

Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
lilik-openwrt-22.03
Alexander Ryzhov 6 years ago
parent
commit
7454478df3
No known key found for this signature in database GPG Key ID: 668EC7CA19147A4E
2 changed files with 15 additions and 1 deletions
  1. +1
    -1
      net/aggregate/Makefile
  2. +14
    -0
      net/aggregate/patches/500-cross_compile_flags.patch

+ 1
- 1
net/aggregate/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=aggregate PKG_NAME:=aggregate
PKG_VERSION:=1.6 PKG_VERSION:=1.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://ftp.isc.org/isc/aggregate/ PKG_SOURCE_URL:=https://ftp.isc.org/isc/aggregate/


+ 14
- 0
net/aggregate/patches/500-cross_compile_flags.patch View File

@ -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

Loading…
Cancel
Save