make/common/TestFilesCompilation.gmk
changeset 51518 2e98c7737d8f
parent 49253 26f624b33218
child 51551 e409244ce72e
--- a/make/common/TestFilesCompilation.gmk	Fri Aug 24 14:04:34 2018 +0200
+++ b/make/common/TestFilesCompilation.gmk	Mon Jul 23 18:08:46 2018 +0200
@@ -94,7 +94,7 @@
         CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \
         LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$(name)), \
         LIBS := $$($1_LIBS_$$(name)), \
-        OPTIMIZATION := LOW, \
+        OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
         COPY_DEBUG_SYMBOLS := false, \
         STRIP_SYMBOLS := false, \
     )) \