From 7407614648f6595c62a92ca4e44be4fcd0849e39 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Fri, 25 May 2012 18:21:03 +0200 Subject: [PATCH] Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648 --- config/gcc-stl-wrapper.template.h | 2 +- configure.in | 4 ++-- js/src/configure.in | 4 ++-- mozglue/build/Makefile.in | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/config/gcc-stl-wrapper.template.h b/config/gcc-stl-wrapper.template.h index 0f263dc68b7..bd5c9159b31 100644 --- a/config/gcc-stl-wrapper.template.h +++ b/config/gcc-stl-wrapper.template.h @@ -10,7 +10,7 @@ // For some reason, Apple's GCC refuses to honor -fno-exceptions when // compiling ObjC. -#if __EXCEPTIONS && !(__OBJC__ && __APPLE_CC__) +#if __EXCEPTIONS && !(__OBJC__ && __GNUC__ && XP_IOS) # error "STL code can only be used with -fno-exceptions" #endif diff --git a/configure.in b/configure.in index 3a3efe70a5d..e8bb1fef7f0 100644 --- a/configure.in +++ b/configure.in @@ -3199,11 +3199,11 @@ EOF "$ac_cv_have_visibility_class_bug" = "no"; then VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h' WRAP_SYSTEM_INCLUDES=1 + STL_FLAGS='-I$(DIST)/stl_wrappers' + WRAP_STL_INCLUDES=1 else VISIBILITY_FLAGS='-fvisibility=hidden' fi # have visibility pragma bug - STL_FLAGS='-I$(DIST)/stl_wrappers' - WRAP_STL_INCLUDES=1 fi # have visibility pragma fi # have visibility(default) attribute fi # have visibility(hidden) attribute diff --git a/js/src/configure.in b/js/src/configure.in index 39f02a1b40b..204cdf1baf3 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -2877,11 +2877,11 @@ EOF "$ac_cv_have_visibility_class_bug" = "no"; then VISIBILITY_FLAGS='-I$(DIST)/system_wrappers_js -include $(topsrcdir)/config/gcc_hidden.h' WRAP_SYSTEM_INCLUDES=1 + STL_FLAGS='-I$(DIST)/stl_wrappers' + WRAP_STL_INCLUDES=1 else VISIBILITY_FLAGS='-fvisibility=hidden' fi # have visibility pragma bug - STL_FLAGS='-I$(DIST)/stl_wrappers' - WRAP_STL_INCLUDES=1 fi # have visibility pragma fi # have visibility(default) attribute fi # have visibility(hidden) attribute diff --git a/mozglue/build/Makefile.in b/mozglue/build/Makefile.in index 15f02ece7eb..6c1a4d8aa8d 100644 --- a/mozglue/build/Makefile.in +++ b/mozglue/build/Makefile.in @@ -65,7 +65,6 @@ ifeq (Android,$(OS_TARGET)) EXTRA_DSO_LDOPTS += -Wl,--wrap=pthread_atfork CPPSRCS += BionicGlue.cpp SHARED_LIBRARY_LIBS += $(call EXPAND_LIBNAME_PATH,android,$(DEPTH)/other-licenses/android) -STL_FLAGS = endif ifeq (android, $(MOZ_WIDGET_TOOLKIT))