Bug 457919 - Delete unused GCC_OPT_BUG makefile variable (r=mrbkap)
authorJason Orendorff <jorendorff@mozilla.com>
Thu, 09 Oct 2008 07:30:20 -0500
changeset 20207 918a110a68e4f426b38bf510bac74ed51a85a9df
parent 20206 252eb15537b544824d86419519eee92224625aa6
child 20208 765855ec09b08c76075d130f8c72c5655aa42b9a
push idunknown
push userunknown
push dateunknown
reviewersmrbkap
bugs457919
milestone1.9.1b2pre
Bug 457919 - Delete unused GCC_OPT_BUG makefile variable (r=mrbkap)
js/src/config/Linux_All.mk
--- a/js/src/config/Linux_All.mk
+++ b/js/src/config/Linux_All.mk
@@ -55,27 +55,16 @@ MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
 
 CPU_ARCH = $(shell uname -m)
 # don't filter in x86-64 architecture
 ifneq (x86_64,$(CPU_ARCH))
 ifeq (86,$(findstring 86,$(CPU_ARCH)))
 CPU_ARCH = x86
 OS_CFLAGS += -DX86_LINUX -DAVMPLUS_IA32 -DAVMPLUS_UNIX -DAVMPLUS_LINUX
 NANOJIT_ARCH = i386
-
-ifeq (gcc, $(CC))
-# if using gcc on x86, check version for opt bug 
-# (http://bugzilla.mozilla.org/show_bug.cgi?id=24892)
-GCC_VERSION := $(shell gcc -v 2>&1 | grep version | awk '{ print $$3 }')
-GCC_LIST:=$(sort 2.91.66 $(GCC_VERSION) )
-
-ifeq (2.91.66, $(firstword $(GCC_LIST)))
-CFLAGS+= -DGCC_OPT_BUG
-endif # gcc 2.91.66
-endif # gcc
 endif # 86
 endif # !x86_64
 
 ifeq ($(CPU_ARCH),x86_64)
 OS_CFLAGS += -DAVMPLUS_AMD64 -DAVMPLUS_64BIT -DAVMPLUS_UNIX -DAVMPLUS_LINUX
 NANOJIT_ARCH = i386
 endif