]>
Commit | Line | Data |
---|---|---|
1 | diff -urN iproute2/Makefile.orig iproute2/Makefile | |
2 | --- iproute2/Makefile.orig Wed Jan 16 00:30:32 2002 | |
3 | +++ iproute2/Makefile Wed Sep 24 18:54:04 2003 | |
4 | @@ -25,16 +25,16 @@ | |
5 | ||
6 | ifeq ($(LIBC_INCLUDE)/socketbits.h,$(wildcard $(LIBC_INCLUDE)/socketbits.h)) | |
7 | ifeq ($(LIBC_INCLUDE)/net/if_packet.h,$(wildcard $(LIBC_INCLUDE)/net/if_packet.h)) | |
8 | - GLIBCFIX=-I../include-glibc -include ../include-glibc/glibc-bugs.h | |
9 | + GLIBCFIX=-include ../include-glibc/glibc-bugs.h | |
10 | endif | |
11 | endif | |
12 | ifeq ($(LIBC_INCLUDE)/bits/socket.h,$(wildcard $(LIBC_INCLUDE)/bits/socket.h)) | |
13 | - GLIBCFIX=-I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h | |
14 | + GLIBCFIX=-include ../include-glibc/glibc-bugs.h | |
15 | endif | |
16 | ||
17 | ||
18 | CC = gcc | |
19 | -CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g | |
20 | +CCOPTS = -D_GNU_SOURCE $(OPT) -Wstrict-prototypes -Wall -g | |
21 | CFLAGS = $(CCOPTS) $(GLIBCFIX) -I$(KERNEL_INCLUDE) -I../include $(DEFINES) | |
22 | ||
23 | LDLIBS += -L../lib -lnetlink -lutil |