add new ppp timeout/redial stuff from [2433] to pptp init script
[openwrt.git] / openwrt / target / linux / linux-2.4 / patches / generic / 006-extra_optimization.patch
1 --- linux-2.4.30/Makefile 2005-10-23 20:52:56.813948000 +0200
2 +++ linux.dev/Makefile 2005-10-23 20:53:12.482927250 +0200
3 @@ -89,6 +89,8 @@
4 # standard CFLAGS
5 #
6
7 +check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi)
8 +
9 CPPFLAGS := -D__KERNEL__ -I$(HPATH)
10
11 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
12 @@ -100,6 +102,12 @@
13 endif
14 AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)
15
16 +CFLAGS += $(call check_gcc, -funit-at-a-time,)
17 +
18 +
19 +
20 +
21 +
22 #
23 # ROOT_DEV specifies the default root-device when making the image.
24 # This can be either FLOPPY, CURRENT, /dev/xxxx or empty, in which case
This page took 0.039582 seconds and 5 git commands to generate.