Skip to content

Commit c55dd36

Browse files
committedOct 11, 2021
8275008: gtest build failure due to stringop-overflow warning with gcc11
Reviewed-by: dholmes, ihse
1 parent 3edee1e commit c55dd36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎make/hotspot/lib/CompileGtest.gmk

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2016, 2021, 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
@@ -101,7 +101,7 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBJVM, \
101101
CFLAGS_windows := -EHsc, \
102102
CFLAGS_macosx := -DGTEST_OS_MAC=1, \
103103
DISABLED_WARNINGS_gcc := $(DISABLED_WARNINGS_gcc) \
104-
undef, \
104+
undef stringop-overflow, \
105105
DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang) \
106106
undef switch format-nonliteral tautological-undefined-compare \
107107
self-assign-overloaded, \

0 commit comments

Comments
 (0)
Please sign in to comment.