make/linux/makefiles/gcc.make

changeset 1205
f5ee65f94d9a
parent 1202
5d4dd2f5f6a1
parent 1179
af5d39ca39a3
child 1445
354d3184f6b2
equal deleted inserted replaced
1204:116b019a3961 1205:f5ee65f94d9a
111 OPT_CFLAGS += -fno-expensive-optimizations 111 OPT_CFLAGS += -fno-expensive-optimizations
112 endif 112 endif
113 113
114 OPT_CFLAGS/NOOPT=-O0 114 OPT_CFLAGS/NOOPT=-O0
115 115
116 # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation.
117 ifneq "$(shell expr \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) = 3 \) \))" "0"
118 OPT_CFLAGS/mulnode.o += -O0
119 endif
120
116 #------------------------------------------------------------------------ 121 #------------------------------------------------------------------------
117 # Linker flags 122 # Linker flags
118 123
119 # statically link libstdc++.so, work with gcc but ignored by g++ 124 # statically link libstdc++.so, work with gcc but ignored by g++
120 STATIC_STDCXX = -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic 125 STATIC_STDCXX = -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic

mercurial