Mercurial > hg > truffle
diff make/bsd/makefiles/gcc.make @ 18132:b00fc4dc6dc2
lower optimization on unsafe.cpp with XCode 6 as well
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 20 Oct 2014 16:22:18 -0700 |
parents | 9a980af18ec5 |
children | be896a1983c0 |
line wrap: on
line diff
--- a/make/bsd/makefiles/gcc.make Tue Oct 21 00:30:06 2014 +0200 +++ b/make/bsd/makefiles/gcc.make Mon Oct 20 16:22:18 2014 -0700 @@ -324,7 +324,11 @@ 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 + endif + # Clang 6.x + ifeq ($(shell expr $(CC_VER_MAJOR) = 6), 1) + OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) + OPT_CFLAGS/unsafe.o += -O1 endif else # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation.