8055838: Hotspot does not compile with clang 6.0 (OS X Yosemite)
authorsla
Fri, 29 Aug 2014 13:34:16 +0200
changeset 26417 c55a863f2a7f
parent 26416 3ac5b684945a
child 26418 16ac9bcf600a
child 26561 e104c9397ca1
8055838: Hotspot does not compile with clang 6.0 (OS X Yosemite) Reviewed-by: lfoltan, kvn
hotspot/make/bsd/makefiles/gcc.make
--- 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