8081471: Allow SetupTestFilesCompilation to set LDFLAGS for individual tests

Reviewed-by: erikj
This commit is contained in:
Magnus Ihse Bursie 2015-06-03 11:03:06 +02:00
parent d16d3eca51
commit 995e80befa

View File

@ -86,8 +86,8 @@ define SetupTestFilesCompilationBody
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)) ) \