Bug 557000 - Don't use GCC_VERSION to detect GCC in makefiles. r=ted

This commit is contained in:
Jacek Caban 2010-05-01 11:46:25 +02:00
parent 8e4e0a85a6
commit e853d23bfc
2 changed files with 4 additions and 2 deletions

View File

@ -139,12 +139,14 @@ GARBAGE_DIRS += system_wrappers
endif
ifdef WRAP_STL_INCLUDES
ifdef GCC_VERSION
ifdef GNU_CXX
stl_compiler = gcc
else
ifdef _MSC_VER
stl_compiler = msvc
endif
endif
endif
ifdef stl_compiler
stl-wrappers-sentinel: $(srcdir)/make-stl-wrappers.py $(srcdir)/$(stl_compiler)-stl-wrapper.template.h $(srcdir)/stl-headers $(GLOBAL_DEPS)

View File

@ -80,7 +80,7 @@ CPPSRCS = \
$(NULL)
ifdef WRAP_STL_INCLUDES #{
ifdef GCC_VERSION #{
ifdef GNU_CXX #{
EXPORTS_mozilla += throw_gcc.h
else
ifdef _MSC_VER #{