< prev index next >

make/bsd/makefiles/gcc.make

Print this page
rev 8116 : 8077364: "if( !this )" construct prevents build on Xcode 6.3
Reviewed-by:

@@ -327,10 +327,14 @@
     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 
+  # Clang 6.1
+  else ifeq ($(shell expr $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) = 1), 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
 else
   # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation.
< prev index next >