Mail archive
alpine-aports

[alpine-aports] [PATCH 3/4] testing/hping: pass CFLAGS to gcc

From: Corentin Henry <corentinhenry_at_gmail.com>
Date: Tue, 19 Jan 2016 11:50:40 +0000

---
 testing/hping/20-pass_CFLAGS_to_gcc.patch | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 testing/hping/20-pass_CFLAGS_to_gcc.patch
diff --git a/testing/hping/20-pass_CFLAGS_to_gcc.patch b/testing/hping/20-pass_CFLAGS_to_gcc.patch
new file mode 100644
index 0000000..31d6689
--- /dev/null
+++ b/testing/hping/20-pass_CFLAGS_to_gcc.patch
_at_@ -0,0 +1,25 @@
+From 9b586fa0ae41cbf36e1043e6a5879d1bbc9e0ff6 Mon Sep 17 00:00:00 2001
+From: Corentin Henry <corentinhenry_at_gmail.com>
+Date: Mon, 11 Jan 2016 15:04:23 +0000
+Subject: [PATCH] add CFLAGS to gcc options
+
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 5cccbdd..5b70092 100644
+--- a/Makefile.in
++++ b/Makefile.in
+_at_@ -9,7 +9,7 @@
+ CC= gcc
+ AR=/usr/bin/ar
+ RANLIB=/usr/bin/ranlib
+-CCOPT= -O2 -Wall _at_PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
++CCOPT= $(CFLAGS) -O2 -Wall _at_PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
+ DEBUG= -g
+ #uncomment the following if you need libpcap based build under linux
+ #(not raccomanded)
+-- 
+2.7.0
+
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Jan 19 2016 - 11:50:40 GMT