Mercurial > hg > truffle
changeset 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 | 85cec9cab17b |
children | 5c1bd485c54b |
files | make/bsd/makefiles/gcc.make |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
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.