Skip to content

Commit 3bb6a3d

Browse files
committedFeb 4, 2021
8261109: [macOS] Remove disabled warning for JNF in make/autoconf/flags-cflags.m4
Reviewed-by: serb, ihse, erikj
1 parent c59e4b6 commit 3bb6a3d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed
 

‎make/autoconf/flags-cflags.m4

-5
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,6 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
168168
169169
DISABLED_WARNINGS="unknown-warning-option unused-parameter unused"
170170
171-
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
172-
# missing-method-return-type triggers in JavaNativeFoundation framework
173-
DISABLED_WARNINGS="$DISABLED_WARNINGS missing-method-return-type"
174-
fi
175-
176171
;;
177172
178173
xlc)

‎make/modules/java.base/Lib.gmk

-3
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ $(BUILD_LIBNIO): $(BUILD_LIBNET)
9696
# Create the macosx security library
9797

9898
ifeq ($(call isTargetOs, macosx), true)
99-
# JavaNativeFoundation framework not supported in static builds
100-
ifneq ($(STATIC_BUILD), true)
10199

102100
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXSECURITY, \
103101
NAME := osxsecurity, \
@@ -120,7 +118,6 @@ ifeq ($(call isTargetOs, macosx), true)
120118

121119
TARGETS += $(BUILD_LIBOSXSECURITY)
122120

123-
endif
124121
endif
125122

126123
################################################################################

0 commit comments

Comments
 (0)
Please sign in to comment.