Skip to content

Commit cef5610

Browse files
cnqpzhangmagicus
authored andcommitted
8353272: One instance of STATIC_LIB_CFLAGS was missed in JDK-8345683
Reviewed-by: erikj
1 parent 6801eb8 commit cef5610

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 += $$(STATIC_LIB_CFLAGS)
125+
$1_EXTRA_CXXFLAGS += -DSTATIC_BUILD=1
126126
endif
127127

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

0 commit comments

Comments
 (0)