mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 08:34:30 +02:00
8300254: ASan build does not correctly propagate ASAN_OPTIONS
Reviewed-by: ihse
This commit is contained in:
parent
e37078f5bb
commit
00b6c551ec
4 changed files with 67 additions and 15 deletions
|
@ -144,9 +144,15 @@ define SetupBuildLauncherBody
|
|||
|
||||
$1_WINDOWS_JLI_LIB := $(call FindStaticLib, java.base, jli, /libjli)
|
||||
|
||||
$1_EXTRA_FILES := $(LAUNCHER_SRC)/main.c
|
||||
|
||||
ifeq ($(ASAN_ENABLED), true)
|
||||
$1_EXTRA_FILES += $(TOPDIR)/make/data/asan/asan_default_options.c
|
||||
endif
|
||||
|
||||
$$(eval $$(call SetupJdkExecutable, BUILD_LAUNCHER_$1, \
|
||||
NAME := $1, \
|
||||
EXTRA_FILES := $(LAUNCHER_SRC)/main.c, \
|
||||
EXTRA_FILES := $$($1_EXTRA_FILES), \
|
||||
OPTIMIZATION := $$($1_OPTIMIZATION), \
|
||||
CFLAGS := $$(CFLAGS_JDKEXE) \
|
||||
$$(LAUNCHER_CFLAGS) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue