summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-09-10 23:13:32 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-09-11 11:33:34 +0300
commit102a07cc63a4fb4a938893de36d8f459ca931f7a (patch)
tree50b23ac22a9ba496420bb9eb7dd1ccab05798b5a /scripts
parent92b3386dece8c010512a10cfbd5c99daf7091f2c (diff)
downloadqtlocation-mapboxgl-102a07cc63a4fb4a938893de36d8f459ca931f7a.tar.gz
[build] Remove CXX11 flag
No longer needed after we vendorized so many deps.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-cxx11abi.datbin8780 -> 0 bytes
-rwxr-xr-xscripts/check-cxx11abi.sh21
2 files changed, 0 insertions, 21 deletions
diff --git a/scripts/check-cxx11abi.dat b/scripts/check-cxx11abi.dat
deleted file mode 100755
index eab7298b50..0000000000
--- a/scripts/check-cxx11abi.dat
+++ /dev/null
Binary files differ
diff --git a/scripts/check-cxx11abi.sh b/scripts/check-cxx11abi.sh
deleted file mode 100755
index c6fd9258c5..0000000000
--- a/scripts/check-cxx11abi.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-set -o pipefail
-
-if ! [ `uname -s` = 'Linux' ] || \
- ! command -v readelf > /dev/null || \
- ! command -v c++filt > /dev/null; then
- echo -n "OFF"
- exit 0
-fi
-
-# check-cxx11abi.dat is a binary just so we can use the loader
-# to take care of finding the libstdc++ which can be tricky.
-LIBSTDCPP=$(ldd $(dirname $0)/check-cxx11abi.dat |grep libstdc++ |cut -d' ' -f3)
-
-if [ $(readelf -Ws $LIBSTDCPP |c++filt |grep -c ::__cxx11::) -gt 0 ]; then
- echo -n "ON"
-else
- echo -n "OFF"
-fi