~alpine/aports

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

Corentin Henry <corentinhenry@gmail.com>
Details
Message ID
<1453204241-6685-4-git-send-email-corentinhenry@gmail.com>
Sender timestamp
1453204240
DKIM signature
missing
Download raw message
Patch: +25 -0
---
 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
@@ -0,0 +1,25 @@
From 9b586fa0ae41cbf36e1043e6a5879d1bbc9e0ff6 Mon Sep 17 00:00:00 2001
From: Corentin Henry <corentinhenry@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
@@ -9,7 +9,7 @@
 CC= gcc
 AR=/usr/bin/ar
 RANLIB=/usr/bin/ranlib
-CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
+CCOPT= $(CFLAGS) -O2 -Wall @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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)