Browse Source

Merge pull request #8007 from ryzhovau/aggregate_flags

aggregate: respect CFLAGS, LDFLAGS
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
321675740b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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_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/


+ 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