hotspot/make/bsd/makefiles/gcc.make
changeset 26417 c55a863f2a7f
parent 26172 7ab032af2835
child 30239 dc83236ebb28
--- 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