# HG changeset patch # User Doug Simon # Date 1394578805 -3600 # Node ID f97c5ec83832c39d8f0eeee0f0f6f1ffcf73e009 # Parent d2c8b553f621d586ef6b4b592c46f814f8cd06a8 apply workaround for clang 5.0 also to clang 5.1 diff -r d2c8b553f621 -r f97c5ec83832 make/bsd/makefiles/gcc.make --- a/make/bsd/makefiles/gcc.make Tue Mar 11 23:59:19 2014 +0100 +++ b/make/bsd/makefiles/gcc.make Wed Mar 12 00:00:05 2014 +0100 @@ -321,7 +321,7 @@ OPT_CFLAGS/unsafe.o += -O1 endif # Clang 5.0 - ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& $(CC_VER_MINOR) = 0), 1) + ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& \( $(CC_VER_MINOR) = 0 \| $(CC_VER_MINOR) = 1 \) ), 1) OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) OPT_CFLAGS/unsafe.o += -O1 OPT_CFLAGS/graalCompilerToVM.o += -O1