libre: prevent re.mk from applying its own optimizations

Using the CFLAGS from the environment of Build/Compile the optimizations
from libre now appear after OpenWrt CFLAGS, overriding them. Prevent
that by disabling libre's optimization altogether.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2017-11-26 22:13:20 +01:00
parent c2f7efa6a1
commit 7e1106ff83

View file

@ -0,0 +1,10 @@
--- a/mk/re.mk
+++ b/mk/re.mk
@@ -43,7 +43,6 @@
ifneq ($(RELEASE),)
CFLAGS += -DRELEASE
-OPT_SPEED=1
endif