aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch')
-rw-r--r--package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch b/package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch
new file mode 100644
index 0000000000..d2e816f5c0
--- /dev/null
+++ b/package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch
@@ -0,0 +1,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