Bug 1470055 - Lift libstdc++ requirement relaxation when building clang-plugin. r?build draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 21 Jun 2018 11:45:30 +0900
changeset 808872 f885aedb51c5505912760206dc9656c6a8244bae
parent 808871 3e3547b852fd6cd685453e24df893060f46ec99a
child 809196 9d82e52c7f21daf633cd60e45edc8112044a711b
child 809199 33e113a90ad95ec2d2df5936abbe81e46afc7400
child 809386 409331e700cbe224bae3998a389a1e057783636e
child 809388 65f0637fde89dbaf244b9d3d6b140d674f36e96a
child 809394 e89c5b6c747f67b864739b74d2b2e4bd69a5a940
child 809400 ad1483f2a7339d5213a4c69aef1275eb83069fd6
push id113535
push userbmo:mh+mozilla@glandium.org
push dateThu, 21 Jun 2018 04:04:54 +0000
reviewersbuild
bugs1470055
milestone62.0a1
Bug 1470055 - Lift libstdc++ requirement relaxation when building clang-plugin. r?build
build/clang-plugin/Makefile.in
--- a/build/clang-plugin/Makefile.in
+++ b/build/clang-plugin/Makefile.in
@@ -14,15 +14,8 @@ ifeq ($(HOST_OS_ARCH)_$(OS_ARCH),Linux_D
 # Use the host compiler instead of the target compiler.
 CXX := $(HOST_CXX)
 endif
 
 # Use the default OS X deployment target to enable using the libc++ headers
 # correctly.  Note that the binary produced here is a host tool and doesn't need
 # to be distributed.
 MACOSX_DEPLOYMENT_TARGET :=
-
-# Temporarily relax the requirements for libstdc++ symbol versions on static
-# analysis plugin in order to use a recent clang by accepting libstdc++ from
-# gcc 4.4.0 (GLIBCXX_3.4.11).
-ifdef CHECK_STDCXX
-CHECK_STDCXX = $(call CHECK_SYMBOLS,$(1),GLIBCXX,libstdc++,v[1] > 3 || (v[1] == 3 && v[2] == 4 && v[3] > 11))
-endif