lantiq: ltq-ifxos: Do not force O3 build any more
Do not force to build with O3 optimization any more, but take what was selected by the OpenWrt build system. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>v19.07.3_mercusys_ac12_duma
parent
c6162fdc50
commit
c8abbf1e22
@ -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
|
Loading…
Reference in New Issue