summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2/patches/patch-Makefile')
-rw-r--r--package/iproute2/patches/patch-Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iproute2/patches/patch-Makefile b/package/iproute2/patches/patch-Makefile
index 194162a87..841c6f32e 100644
--- a/package/iproute2/patches/patch-Makefile
+++ b/package/iproute2/patches/patch-Makefile
@@ -4,7 +4,7 @@
used to compile host-utils in netem/
- define LIBUTIL for misc/ss to compile correctly
--- iproute2-2.6.29-1.orig/Makefile 2009-03-24 23:40:54.000000000 +0100
-+++ iproute2-2.6.29-1/Makefile 2009-08-22 02:42:31.939603104 +0200
++++ iproute2-2.6.29-1/Makefile 2009-11-25 08:59:58.000000000 +0100
@@ -20,10 +20,10 @@ ADDLIB+=dnet_ntop.o dnet_pton.o
#options for ipx
ADDLIB+=ipx_ntop.o ipx_pton.o
@@ -15,7 +15,7 @@
-CFLAGS = $(CCOPTS) -I../include $(DEFINES)
+CC := gcc
+HOSTCC := gcc
-+CCOPTS := -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
++CCOPTS ?= -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
+CFLAGS = $(CCOPTS) -I../include $(DEFINES) ${TARGET_CFLAGS}
YACCFLAGS = -d -t -v