Use a different hack to make the Linux tinderboxes green until we can upgrade to GCC 4.3

This commit is contained in:
Benjamin Smedberg 2009-07-17 13:39:40 -04:00
parent d2a3bbd884
commit 855263eb48

View File

@ -43,8 +43,6 @@ include $(DEPTH)/config/autoconf.mk
OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS))
OS_CXXFLAGS += -fno-inline
LIBRARY_NAME = chromium_s
FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1
@ -70,6 +68,12 @@ vpath %.mm \
$(srcdir)/src/chrome/common \
$(NULL)
# TODO: remove this hack when we switch to GCC 4.3! GCC 4.1
# instantiates template declarations in wrapped system headers with
# the wrong visibility, which is causing the Linux tinderboxen to die in
# std::string internals.
VISIBILITY_FLAGS=
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk