lantiq: ltq-ifxos: Do not force O3 build any more
[openwrt/.git] / package / kernel / lantiq / ltq-ifxos / patches / 020-no-O3.patch
1 --- a/src/Makefile.am
2 +++ b/src/Makefile.am
3 @@ -45,8 +45,6 @@ endif !HAVE_GCC
4  
5  if ENABLE_DEBUG
6  used_gcc_cflags += -O1 -g
7 -else
8 -used_gcc_cflags += -O3
9  endif
10  
11  AM_CFLAGS = \
12 @@ -92,7 +90,6 @@ endif
13  drvifxos_additional_cflags=\
14         -DLINUX \
15         -D__LINUX__ \
16 -       -O \
17         -D__KERNEL__ \
18         -DMODULE \
19         -DEXPORT_SYMTAB