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:
parent
c2f7efa6a1
commit
7e1106ff83
1 changed files with 10 additions and 0 deletions
10
libs/re/patches/004-prevent-optimization-meddling.patch
Normal file
10
libs/re/patches/004-prevent-optimization-meddling.patch
Normal 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
|
||||
|
||||
|
Loading…
Reference in a new issue