Skip to content

Commit 1d15e5c

Browse files
committedOct 24, 2022
8295716: Minimize disabled warnings in security libs
Reviewed-by: erikj
1 parent 8c86e92 commit 1d15e5c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
 

‎make/modules/java.security.jgss/Lib.gmk

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJ2GSS, \
3232
OPTIMIZATION := LOW, \
3333
CFLAGS := $(CFLAGS_JDKLIB), \
3434
DISABLED_WARNINGS_gcc := undef, \
35-
DISABLED_WARNINGS_clang := undef, \
3635
LDFLAGS := $(LDFLAGS_JDKLIB) \
3736
$(call SET_SHARED_LIBRARY_ORIGIN), \
3837
LIBS := $(LIBDL), \
@@ -80,7 +79,7 @@ ifneq ($(BUILD_CRYPTO), false)
8079
NAME := osxkrb5, \
8180
OPTIMIZATION := LOW, \
8281
CFLAGS := $(CFLAGS_JDKLIB), \
83-
DISABLED_WARNINGS_clang := deprecated-declarations, \
82+
DISABLED_WARNINGS_clang_nativeccache.c := deprecated-declarations, \
8483
LDFLAGS := $(LDFLAGS_JDKLIB) \
8584
$(call SET_SHARED_LIBRARY_ORIGIN), \
8685
LIBS := -framework Cocoa -framework SystemConfiguration \

‎make/modules/jdk.crypto.cryptoki/Lib.gmk

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJ2PKCS11, \
3131
NAME := j2pkcs11, \
3232
OPTIMIZATION := LOW, \
3333
CFLAGS := $(CFLAGS_JDKLIB), \
34-
DISABLED_WARNINGS_clang := format-nonliteral, \
34+
DISABLED_WARNINGS_clang_p11_util.c := format-nonliteral, \
3535
LDFLAGS := $(LDFLAGS_JDKLIB) \
3636
$(call SET_SHARED_LIBRARY_ORIGIN), \
3737
LIBS_unix := $(LIBDL), \

0 commit comments

Comments
 (0)
Please sign in to comment.