Mercurial > hg > graal-compiler
comparison make/bsd/makefiles/gcc.make @ 14141:f97c5ec83832
apply workaround for clang 5.0 also to clang 5.1
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Mar 2014 00:00:05 +0100 |
parents | 096c224171c4 |
children | 8c0e92c8c45b d8041d695d19 |
comparison
equal
deleted
inserted
replaced
14140:d2c8b553f621 | 14141:f97c5ec83832 |
---|---|
319 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1) | 319 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1) |
320 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) | 320 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) |
321 OPT_CFLAGS/unsafe.o += -O1 | 321 OPT_CFLAGS/unsafe.o += -O1 |
322 endif | 322 endif |
323 # Clang 5.0 | 323 # Clang 5.0 |
324 ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& $(CC_VER_MINOR) = 0), 1) | 324 ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& \( $(CC_VER_MINOR) = 0 \| $(CC_VER_MINOR) = 1 \) ), 1) |
325 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) | 325 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) |
326 OPT_CFLAGS/unsafe.o += -O1 | 326 OPT_CFLAGS/unsafe.o += -O1 |
327 OPT_CFLAGS/graalCompilerToVM.o += -O1 | 327 OPT_CFLAGS/graalCompilerToVM.o += -O1 |
328 endif | 328 endif |
329 else | 329 else |