mozilla-no-stdcxx-check.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 20 Jan 2018 21:27:34 +0100
changeset 1024 d14085eee2b2
parent 1006 5ba9b67de554
child 1033 51bfdd19b9e9
permissions -rw-r--r--
bring back CSD (but not ported yet)

# HG changeset patch
# User Wolfgang Rosenauer <wr@rosenauer.org>
# Parent  8f6d1846ca837387965573161577b1c5a483bcda

diff --git a/config/config.mk b/config/config.mk
--- a/config/config.mk
+++ b/config/config.mk
@@ -579,17 +579,16 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),android)
 # of the linker command line), if libmozglue.so ends up after libc.so, all
 # hell breaks loose, so better safe than sorry, and check it's actually the
 # case.
 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 } }'
 endif
 
 define CHECK_BINARY
 $(call CHECK_GLIBC,$(1))
-$(call CHECK_STDCXX,$(1))
 $(call CHECK_TEXTREL,$(1))
 $(call LOCAL_CHECKS,$(1))
 $(call CHECK_MOZGLUE_ORDER,$(1))
 endef
 
 # autoconf.mk sets OBJ_SUFFIX to an error to avoid use before including
 # this file
 OBJ_SUFFIX := $(_OBJ_SUFFIX)