8353449: [BACKOUT] One instance of STATIC_LIB_CFLAGS was missed in JDK-8345683

Reviewed-by: alanb, ihse
This commit is contained in:
David Holmes 2025-04-01 12:59:49 +00:00
parent 2a31f69a55
commit a1ab1d8de4

View File

@ -122,7 +122,7 @@ define SetupCompilerFlags
$1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_release)
endif
ifeq ($(STATIC_LIBS), true)
$1_EXTRA_CXXFLAGS += -DSTATIC_BUILD=1
$1_EXTRA_CXXFLAGS += $$(STATIC_LIB_CFLAGS)
endif
# If no C++ flags are explicitly set, default to using the C flags.