137 # extra '-O0' PCH file for the opt build and use it here, but it's probably |
137 # extra '-O0' PCH file for the opt build and use it here, but it's probably |
138 # not worth the effort as long as only two files need this special handling. |
138 # not worth the effort as long as only two files need this special handling. |
139 PCH_FLAG/loopTransform.o = $(PCH_FLAG/NO_PCH) |
139 PCH_FLAG/loopTransform.o = $(PCH_FLAG/NO_PCH) |
140 PCH_FLAG/sharedRuntimeTrig.o = $(PCH_FLAG/NO_PCH) |
140 PCH_FLAG/sharedRuntimeTrig.o = $(PCH_FLAG/NO_PCH) |
141 PCH_FLAG/sharedRuntimeTrans.o = $(PCH_FLAG/NO_PCH) |
141 PCH_FLAG/sharedRuntimeTrans.o = $(PCH_FLAG/NO_PCH) |
|
142 PCH_FLAG/unsafe.o = $(PCH_FLAG/NO_PCH) |
142 |
143 |
143 endif |
144 endif |
144 else # ($(USE_CLANG), true) |
145 else # ($(USE_CLANG), true) |
145 # check for precompiled headers support |
146 # check for precompiled headers support |
146 ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0" |
147 ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0" |
304 |
305 |
305 # Work around some compiler bugs. |
306 # Work around some compiler bugs. |
306 ifeq ($(USE_CLANG), true) |
307 ifeq ($(USE_CLANG), true) |
307 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1) |
308 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1) |
308 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) |
309 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) |
|
310 OPT_CFLAGS/unsafe.o += -01 |
309 endif |
311 endif |
310 else |
312 else |
311 # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. |
313 # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. |
312 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1) |
314 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1) |
313 OPT_CFLAGS/mulnode.o += $(OPT_CFLAGS/NOOPT) |
315 OPT_CFLAGS/mulnode.o += $(OPT_CFLAGS/NOOPT) |