Skip to content

Commit a1ab1d8

Browse files
author
David Holmes
committed
8353449: [BACKOUT] One instance of STATIC_LIB_CFLAGS was missed in JDK-8345683
Reviewed-by: alanb, ihse
1 parent 2a31f69 commit a1ab1d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/common/native/Flags.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ define SetupCompilerFlags
122122
$1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_release)
123123
endif
124124
ifeq ($(STATIC_LIBS), true)
125-
$1_EXTRA_CXXFLAGS += -DSTATIC_BUILD=1
125+
$1_EXTRA_CXXFLAGS += $$(STATIC_LIB_CFLAGS)
126126
endif
127127

128128
# If no C++ flags are explicitly set, default to using the C flags.

0 commit comments

Comments
 (0)