[aarch64-port-dev ] JDK9: Temporary patch to disable warnings when	optimization is off
    Andrew Haley 
    aph at redhat.com
       
    Tue Jul 29 17:53:34 UTC 2014
    
    
  
JDK9 won't build right now; this just gets it going again.  Waiting
for a better patch from upstream, when we can pull this out.
Andrew.
# HG changeset patch
# User aph
# Date 1406652852 14400
#      Tue Jul 29 12:54:12 2014 -0400
# Node ID 53b2f147e42b4eb968461ebb653880f86cf91500
# Parent  d2f9c971fef82904215abb1455404604bd76feca
Temporary patch to disable warnings when optimization is off.
diff -r d2f9c971fef8 -r 53b2f147e42b make/linux/makefiles/gcc.make
--- a/make/linux/makefiles/gcc.make     Tue Jul 29 12:53:13 2014 -0400
+++ b/make/linux/makefiles/gcc.make     Tue Jul 29 12:54:12 2014 -0400
@@ -231,8 +231,8 @@
 CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@))
 # optimization control flags (Used by fastdebug and release variants)
-OPT_CFLAGS/NOOPT=-O0
-OPT_CFLAGS/DEBUG=-O0
+OPT_CFLAGS/NOOPT=-O0 -Wno-error=cpp
+OPT_CFLAGS/DEBUG=-O0 -Wno-error=cpp
 OPT_CFLAGS/SIZE=-Os
 OPT_CFLAGS/SPEED=-O3
@@ -340,7 +340,7 @@
 endif
 # Allow no optimizations.
-DEBUG_CFLAGS=-O0
+DEBUG_CFLAGS=-O0 -Wno-error=cpp
 # DEBUG_BINARIES uses full -g debug information for all configs
 ifeq ($(DEBUG_BINARIES), true)
    
    
More information about the aarch64-port-dev
mailing list