aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch
blob: d2e816f5c0df71837a9fc74b002e148c98ef0f31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -45,8 +45,6 @@ endif !HAVE_GCC
 
 if ENABLE_DEBUG
 used_gcc_cflags += -O1 -g
-else
-used_gcc_cflags += -O3
 endif
 
 AM_CFLAGS = \
@@ -92,7 +90,6 @@ endif
 drvifxos_additional_cflags=\
 	-DLINUX \
 	-D__LINUX__ \
-	-O \
 	-D__KERNEL__ \
 	-DMODULE \
 	-DEXPORT_SYMTAB