OpenJDK / jdk / jdk
changeset 59215:f9301e616917
8244653: Suppress gcc 9.1 ABI change notes on aarch64
Reviewed-by: kbarrett
author | ihse |
---|---|
date | Fri, 08 May 2020 14:10:36 +0200 |
parents | 056ed9b991aa |
children | 730eb308516a |
files | make/autoconf/flags-cflags.m4 |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/autoconf/flags-cflags.m4 Fri May 08 11:23:37 2020 +0100 +++ b/make/autoconf/flags-cflags.m4 Fri May 08 14:10:36 2020 +0200 @@ -782,7 +782,10 @@ fi if test "x$TOOLCHAIN_TYPE" = xgcc; then - if test "x$FLAGS_CPU" = xarm; then + if test "x$FLAGS_CPU" = xaarch64; then + # -Wno-psabi to get rid of annoying "note: parameter passing for argument of type '<type> changed in GCC 9.1" + $1_CFLAGS_CPU="-Wno-psabi" + elif test "x$FLAGS_CPU" = xarm; then # -Wno-psabi to get rid of annoying "note: the mangling of 'va_list' has changed in GCC 4.4" $1_CFLAGS_CPU="-fsigned-char -Wno-psabi $ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS -DJDK_ARCH_ABI_PROP_NAME='\"\$(JDK_ARCH_ABI_PROP_NAME)\"'" $1_CFLAGS_CPU_JVM="-DARM"