summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-07-18 18:33:33 +0300
committerKonstantin Käfer <mail@kkaefer.com>2016-08-05 11:42:22 +0200
commit6b44aa9095316c7823880f25a745490e271c3400 (patch)
tree0f69153ba5b2a65dbac11c83e7108a6d1cf50730 /scripts
parente82aeddb6f00d82a02e73aaa17190f9ba9a3b38f (diff)
downloadqtlocation-mapboxgl-6b44aa9095316c7823880f25a745490e271c3400.tar.gz
[build] Use cxx11abi suffix when needed
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-cxx11abi.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/check-cxx11abi.sh b/scripts/check-cxx11abi.sh
index 512919371d..c543e52cb6 100755
--- a/scripts/check-cxx11abi.sh
+++ b/scripts/check-cxx11abi.sh
@@ -4,7 +4,7 @@ set -e
set -o pipefail
if [ ! `uname -s` = 'Linux' ]; then
- echo ""
+ echo -n "OFF"
exit 0
fi
@@ -13,7 +13,7 @@ fi
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 "-cxx11abi"
+ echo -n "ON"
else
- echo ""
+ echo -n "OFF"
fi