iproute/iproute-2.6.20-makefile.patch

20 lines
564 B
Diff
Raw Normal View History

--- iproute-2.6.20-070313/Makefile.orig 2007-03-30 18:27:27.000000000 +0200
+++ iproute-2.6.20-070313/Makefile 2007-03-30 18:28:40.000000000 +0200
@@ -3,6 +3,7 @@
CONFDIR=/etc/iproute2
DOCDIR=/usr/share/doc/iproute2
MANDIR=/usr/share/man
+KERNEL_INCLUDE=/usr/include
# Path to db_185.h include
DBM_INCLUDE:=/usr/include
@@ -21,7 +22,7 @@
CC = gcc
HOSTCC = gcc
-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
+CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall $(RPM_OPT_FLAGS)
CFLAGS = $(CCOPTS) -I../include $(DEFINES)
YACCFLAGS = -d -t -v