1 From 66f5811dd45fa27a7bfacf946dfefd16d765bb4d Mon Sep 17 00:00:00 2001
2 From: Gilles Talis <gilles.talis@gmail.com>
3 Date: Mon, 14 Jan 2013 11:48:00 -0800
4 Subject: [PATCH] allow CFLAGS/LDFLAGS to be overriden from command line
6 Ensure required CFLAGS/LDFLAGS are appended to those provided in command line
8 Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
10 Makefile | 12 ++++++------
11 1 files changed, 6 insertions(+), 6 deletions(-)
13 diff --git a/Makefile b/Makefile
14 index 4c4f6a8..fdbb4cb 100644
17 @@ -19,7 +19,7 @@ TARGET=httping
21 -CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
22 +override CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
24 PACKAGE=$(TARGET)-$(VERSION)
26 @@ -48,19 +48,19 @@ DOCS=license.txt license.OpenSSL readme.txt
31 +override CFLAGS+=-DNO_SSL
34 -LDFLAGS+=-lssl -lcrypto
35 +override LDFLAGS+=-lssl -lcrypto
40 +override CFLAGS+=-DTCP_TFO
44 -CFLAGS+=-D_DEBUG -ggdb
46 +override CFLAGS+=-D_DEBUG -ggdb