All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] iproute2 - Split up cflags. Allows setting optimisation flags at compile time without patching the Makefile.
@ 2012-03-01 16:45 Christoph J. Thompson
  0 siblings, 0 replies; only message in thread
From: Christoph J. Thompson @ 2012-03-01 16:45 UTC (permalink / raw)
  To: netdev

	modified:   Makefile

Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
---
 Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c6e4943..014d497 100644
--- a/Makefile
+++ b/Makefile
@@ -29,8 +29,10 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
 
 CC = gcc
 HOSTCC = gcc
-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-CFLAGS = $(CCOPTS) -I../include $(DEFINES)
+DEFINES += -D_GNU_SOURCE
+CCOPTS = -O2
+WFLAGS = -Wall -Wstrict-prototypes
+CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
 YACCFLAGS = -d -t -v
 
 SUBDIRS=lib ip tc misc netem genl
-- 
1.7.4.4


-- 
Jabber: heimdal@jabber.org

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-01 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-01 16:45 [PATCH 2/4] iproute2 - Split up cflags. Allows setting optimisation flags at compile time without patching the Makefile Christoph J. Thompson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.