changeset 58733:fd8dc801ef32 ihse-cflags-rewrite-branch

Fix merge errors.
author ihse
date Tue, 22 Oct 2019 08:50:27 +0200
parents 8a8ec5db4297
children c4be316c3df4
files make/autoconf/flags-cflags.m4 make/lib/Lib-java.base.gmk
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/flags-cflags.m4	Thu Oct 17 11:39:48 2019 +0200
+++ b/make/autoconf/flags-cflags.m4	Tue Oct 22 08:50:27 2019 +0200
@@ -578,7 +578,7 @@
     TOOLCHAIN_CFLAGS="-errshort=tags"
 
     TOOLCHAIN_CFLAGS_JDK="-mt $TOOLCHAIN_FLAGS"
-    TOOLCHAIN_CFLAGS_JDK_CONLY="-xc99=%none -xCC -Xa -W0,-noglobal $TOOLCHAIN_CFLAGS" # C only
+    TOOLCHAIN_CFLAGS_JDK_CONLY="-W0,-noglobal $TOOLCHAIN_CFLAGS" # C only
     TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
     TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
         -library=stlport4 -mt -features=no%except $TOOLCHAIN_FLAGS"
--- a/make/lib/Lib-java.base.gmk	Thu Oct 17 11:39:48 2019 +0200
+++ b/make/lib/Lib-java.base.gmk	Tue Oct 22 08:50:27 2019 +0200
@@ -72,7 +72,7 @@
     OPTIMIZATION := HIGH, \
     WARNINGS_AS_ERRORS_xlc := false, \
     CFLAGS := $(CFLAGS_JDKLIB), \
-    DISABLED_WARNINGS_gcc := format-nonliteral logical-op, \
+    DISABLED_WARNINGS_gcc := format-nonliteral, \
     DISABLED_WARNINGS_gcc := undef, \
     DISABLED_WARNINGS_clang := undef, \
     EXTRA_HEADER_DIRS := \