From 7e1106ff832566d1fb0208dcb5366f838e13fa87 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 26 Nov 2017 22:13:20 +0100 Subject: [PATCH] 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 --- .../re/patches/004-prevent-optimization-meddling.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libs/re/patches/004-prevent-optimization-meddling.patch diff --git a/libs/re/patches/004-prevent-optimization-meddling.patch b/libs/re/patches/004-prevent-optimization-meddling.patch new file mode 100644 index 0000000..3b7ba4f --- /dev/null +++ b/libs/re/patches/004-prevent-optimization-meddling.patch @@ -0,0 +1,10 @@ +--- a/mk/re.mk ++++ b/mk/re.mk +@@ -43,7 +43,6 @@ + + ifneq ($(RELEASE),) + CFLAGS += -DRELEASE +-OPT_SPEED=1 + endif + +