We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c005682 commit 752494fCopy full SHA for 752494f
make/autoconf/flags-cflags.m4
@@ -1,5 +1,5 @@
1
#
2
-# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
5
# This code is free software; you can redistribute it and/or modify it
@@ -188,6 +188,10 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
188
WARNINGS_ENABLE_ALL_CXXFLAGS="$WARNINGS_ENABLE_ALL_CFLAGS $WARNINGS_ENABLE_ADDITIONAL_CXX"
189
190
DISABLED_WARNINGS="unused-parameter unused"
191
+ # gcc10/11 on ppc generate lots of abi warnings about layout of aggregates containing vectors
192
+ if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
193
+ DISABLED_WARNINGS="$DISABLED_WARNINGS psabi"
194
+ fi
195
;;
196
197
clang)
0 commit comments