Commit c8610020 authored by Christoph J. Thompson's avatar Christoph J. Thompson Committed by Stephen Hemminger

iproute2 - Split up cflags

Allows setting optimisation flags at compile time without patching the Makefile.

modified:   Makefile
Signed-off-by: default avatarChristoph J. Thompson <cjsthompson@gmail.com>
parent fb72129b
...@@ -29,8 +29,10 @@ ADDLIB+=ipx_ntop.o ipx_pton.o ...@@ -29,8 +29,10 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
CC = gcc CC = gcc
HOSTCC = gcc HOSTCC = gcc
CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall DEFINES += -D_GNU_SOURCE
CFLAGS = $(CCOPTS) -I../include $(DEFINES) CCOPTS = -O2
WFLAGS = -Wall -Wstrict-prototypes
CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
YACCFLAGS = -d -t -v YACCFLAGS = -d -t -v
SUBDIRS=lib ip tc misc netem genl SUBDIRS=lib ip tc misc netem genl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment