diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-07-30 10:35:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-07-30 10:36:31 +0200 |
commit | 2d790c30cd46b17ce78a405c51b5668281a11bba (patch) | |
tree | 3c2d037d50a33b38406d9ca747588c88d4d7993f /package/dnsmasq/patches | |
parent | 84af438d8a3b52838b3bae53b8be6895b0714710 (diff) |
allow static linking
Diffstat (limited to 'package/dnsmasq/patches')
-rw-r--r-- | package/dnsmasq/patches/patch-Makefile | 10 | ||||
-rw-r--r-- | package/dnsmasq/patches/patch-src_config_h | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/package/dnsmasq/patches/patch-Makefile b/package/dnsmasq/patches/patch-Makefile index c84c4cc5a..5b26ccb75 100644 --- a/package/dnsmasq/patches/patch-Makefile +++ b/package/dnsmasq/patches/patch-Makefile @@ -1,6 +1,6 @@ ---- dnsmasq-2.61.orig/Makefile 2012-04-29 17:01:28.000000000 +0200 -+++ dnsmasq-2.61/Makefile 2012-06-02 20:50:33.000000000 +0200 -@@ -18,13 +18,13 @@ +--- dnsmasq-2.71.orig/Makefile 2014-05-16 21:21:55.000000000 +0200 ++++ dnsmasq-2.71/Makefile 2014-06-29 10:49:15.437148455 +0200 +@@ -18,14 +18,14 @@ # Variables you may well want to override. @@ -12,7 +12,9 @@ BUILDDIR = $(SRC) DESTDIR = -CFLAGS = -Wall -W -O2 +-LDFLAGS = +CFLAGS ?= -Wall - LDFLAGS = ++LDFLAGS ?= COPTS = RPM_OPT_FLAGS = + LIBS = diff --git a/package/dnsmasq/patches/patch-src_config_h b/package/dnsmasq/patches/patch-src_config_h index 78f715f2d..ddddec708 100644 --- a/package/dnsmasq/patches/patch-src_config_h +++ b/package/dnsmasq/patches/patch-src_config_h @@ -1,6 +1,6 @@ ---- dnsmasq-2.61.orig/src/config.h 2012-04-29 17:01:28.000000000 +0200 -+++ dnsmasq-2.61/src/config.h 2012-06-02 20:51:50.000000000 +0200 -@@ -138,7 +138,7 @@ RESOLVFILE +--- dnsmasq-2.71.orig/src/config.h 2014-05-16 21:21:55.000000000 +0200 ++++ dnsmasq-2.71/src/config.h 2014-06-29 10:47:26.948602860 +0200 +@@ -166,7 +166,7 @@ RESOLVFILE # elif defined(__ANDROID__) # define LEASEFILE "/data/misc/dhcp/dnsmasq.leases" # else |