diff make/linux/makefiles/gcc.make @ 770:f5ee65f94d9a

Merge
author ohair
date Fri, 15 May 2009 13:41:04 -0700
parents 5d4dd2f5f6a1 af5d39ca39a3
children 354d3184f6b2
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Fri May 08 14:33:58 2009 -0700
+++ b/make/linux/makefiles/gcc.make	Fri May 15 13:41:04 2009 -0700
@@ -113,6 +113,11 @@
 
 OPT_CFLAGS/NOOPT=-O0
 
+# 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. 
+ifneq "$(shell expr \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) = 3 \) \))" "0"
+OPT_CFLAGS/mulnode.o += -O0
+endif
+
 #------------------------------------------------------------------------
 # Linker flags