mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-19 07:17:58 +00:00
iproute2 - Split up cflags
Allows setting optimisation flags at compile time without patching the Makefile. modified: Makefile Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
This commit is contained in:
parent
fb72129b78
commit
c8610020b8
6
Makefile
6
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user