summaryrefslogtreecommitdiff
path: root/package/libpcap/patch-Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
commitf2ea9e8dbd4cc3c77ff4cc52688d7057d3289fab (patch)
tree72ec81acffa69f2c89e52a38603a6f92fb1e72ae /package/libpcap/patch-Makefile_in
parentdce7d2df8c73896aeef77118fe89fc7e88d035fe (diff)
parent0943b7422376747a452bda5562c73d673cccbe68 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libpcap/patch-Makefile_in')
-rw-r--r--package/libpcap/patch-Makefile_in14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libpcap/patch-Makefile_in b/package/libpcap/patch-Makefile_in
new file mode 100644
index 000000000..cd7bdc961
--- /dev/null
+++ b/package/libpcap/patch-Makefile_in
@@ -0,0 +1,14 @@
+ Use $(sort) here, which implicitly removes duplicates.
+ Otherwise our CFLAGS are passed in via CCOPT and CFLAGS leading
+ to duplicate -fhonour-copts passing.
+--- libpcap-1.6.2.orig/Makefile.in 2014-07-03 00:12:49.000000000 +0200
++++ libpcap-1.6.2/Makefile.in 2014-09-12 15:12:48.567519024 +0200
+@@ -61,7 +61,7 @@ DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@
+ PROG=libpcap
+
+ # Standard CFLAGS
+-FULL_CFLAGS = $(CCOPT) $(INCLS) $(DEFS) $(CFLAGS)
++FULL_CFLAGS = $(sort $(CCOPT) $(INCLS) $(DEFS) $(CFLAGS))
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@