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
Родитель a9ad21732a
Коммит 62478d8e8a
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -43,8 +43,6 @@ include $(DEPTH)/config/autoconf.mk
OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS)) OS_CXXFLAGS := $(filter-out -fshort-wchar,$(OS_CXXFLAGS))
OS_CXXFLAGS += -fno-inline
LIBRARY_NAME = chromium_s LIBRARY_NAME = chromium_s
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
@ -70,6 +68,12 @@ vpath %.mm \
$(srcdir)/src/chrome/common \ $(srcdir)/src/chrome/common \
$(NULL) $(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)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk