8243059: Build fails when --with-vendor-name contains a comma

Use $$(VERSION_CFLAGS) so as to avoid the variable getting evaluated early

Reviewed-by: ihse, erikj
This commit is contained in:
Severin Gehwolf 2020-04-17 11:14:17 +02:00
parent f8f5a1bca7
commit a23638bef5

View File

@ -138,9 +138,9 @@ define SetupBuildLauncherBody
EXTRA_FILES := $(LAUNCHER_SRC)/main.c, \
OPTIMIZATION := $$($1_OPTIMIZATION), \
CFLAGS := $$(CFLAGS_JDKEXE) \
$(LAUNCHER_CFLAGS) \
$(VERSION_CFLAGS) \
-DLAUNCHER_NAME='"$(LAUNCHER_NAME)"' \
$$(LAUNCHER_CFLAGS) \
$$(VERSION_CFLAGS) \
-DLAUNCHER_NAME='"$$(LAUNCHER_NAME)"' \
-DPROGNAME='"$1"' \
$$($1_CFLAGS), \
CFLAGS_solaris := -KPIC -DHAVE_GETHRTIME, \