summaryrefslogtreecommitdiff
path: root/Makefile.test
Side-by-side diff
Diffstat (limited to 'Makefile.test') (more/less context) (show whitespace changes)
-rw-r--r--Makefile.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.test b/Makefile.test
index 11fec40..209eef3 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -95,4 +95,10 @@ endif
export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE))
+ifdef CONFIG_OPTIMIZATIONS
+export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS))
+export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE))
+$(warning CFLAGS_RELEASE is $(CFLAGS_RELEASE))
+endif
+
all clean: $(subdir-y)