changeset 1538:7aaab92958c4

8081471: Allow SetupTestFilesCompilation to set LDFLAGS for individual tests Reviewed-by: erikj
author ihse
date Wed, 03 Jun 2015 11:03:06 +0200
parents 609627f9db3f
children fad4629d2cba
files make/common/TestFilesCompilation.gmk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/TestFilesCompilation.gmk	Thu May 28 16:31:47 2015 +0200
+++ b/make/common/TestFilesCompilation.gmk	Wed Jun 03 11:03:06 2015 +0200
@@ -86,8 +86,8 @@
         OBJECT_DIR := $$($1_OUTPUT_DIR)/support/$$($1_PREFIX)$$(name), \
         OUTPUT_DIR := $$($1_OUTPUT_DIR)/$$($1_OUTPUT_SUBDIR), \
         LANG := C, \
-        CFLAGS := $$($1_CFLAGS), \
-        LDFLAGS := $$($1_LDFLAGS), \
+        CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$($1_PREFIX)$$(name)), \
+        LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$($1_PREFIX)$$(name)), \
         OPTIMIZATION := LOW, \
         DEBUG_SYMBOLS := true)) \
     $$(eval $1 += $$(BUILD_TEST_$$(name)) )  \