mozilla-no-stdcxx-check.patch
branchfirefox60
changeset 1090 554cd9503f75
parent 1080 e8d4a33582b8
child 1091 cbed5671ff47
equal deleted inserted replaced
1080:e8d4a33582b8 1090:554cd9503f75
     1 # HG changeset patch
       
     2 # User Wolfgang Rosenauer <wr@rosenauer.org>
       
     3 # Parent  f62746698c37af9593338fe75fbff6b319cd370c
       
     4 
       
     5 diff --git a/config/config.mk b/config/config.mk
       
     6 --- a/config/config.mk
       
     7 +++ b/config/config.mk
       
     8 @@ -471,17 +471,16 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),android)
       
     9  # of the linker command line), if libmozglue.so ends up after libc.so, all
       
    10  # hell breaks loose, so better safe than sorry, and check it's actually the
       
    11  # case.
       
    12  CHECK_MOZGLUE_ORDER = @$(TOOLCHAIN_PREFIX)readelf -d $(1) | grep NEEDED | awk '{ libs[$$NF] = ++n } END { if (libs["[libmozglue.so]"] && libs["[libc.so]"] < libs["[libmozglue.so]"]) { print "libmozglue.so must be linked before libc.so"; exit 1 } }'
       
    13  endif
       
    14  
       
    15  define CHECK_BINARY
       
    16  $(call CHECK_GLIBC,$(1))
       
    17 -$(call CHECK_STDCXX,$(1))
       
    18  $(call CHECK_TEXTREL,$(1))
       
    19  $(call LOCAL_CHECKS,$(1))
       
    20  $(call CHECK_MOZGLUE_ORDER,$(1))
       
    21  endef
       
    22  
       
    23  # autoconf.mk sets OBJ_SUFFIX to an error to avoid use before including
       
    24  # this file
       
    25  OBJ_SUFFIX := $(_OBJ_SUFFIX)