changeset 26417:c55a863f2a7f

8055838: Hotspot does not compile with clang 6.0 (OS X Yosemite) Reviewed-by: lfoltan, kvn
author sla
date Fri, 29 Aug 2014 13:34:16 +0200
parents 3ac5b684945a
children 16ac9bcf600a e104c9397ca1
files hotspot/make/bsd/makefiles/gcc.make
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/make/bsd/makefiles/gcc.make	Thu Aug 28 13:01:44 2014 -0400
+++ b/hotspot/make/bsd/makefiles/gcc.make	Fri Aug 29 13:34:16 2014 +0200
@@ -325,6 +325,10 @@
   else ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& $(CC_VER_MINOR) = 1), 1)
     OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
     OPT_CFLAGS/unsafe.o += -O1
+  # Clang 6.0 
+  else ifeq ($(shell expr $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) = 0), 1) 
+    OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) 
+    OPT_CFLAGS/unsafe.o += -O1 
   else
     $(error "Update compiler workarounds for Clang $(CC_VER_MAJOR).$(CC_VER_MINOR)")
   endif