Return GCC feature checks on Linux.

This commit is contained in:
John Preston 2019-11-05 14:51:03 +03:00
parent 1eb62579e2
commit 9a44531953
1 changed files with 8 additions and 8 deletions

View File

@ -145,15 +145,15 @@ if [ "$BuildTarget" == "linux" ] || [ "$BuildTarget" == "linux32" ]; then
# Error "Bad GLIBC usages found: $BadCount"
# fi
# BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_4\.[3-9] | wc -l`
# if [ "$BadCount" != "0" ]; then
# Error "Bad GCC usages found: $BadCount"
# fi
BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_4\.[3-9] | wc -l`
if [ "$BadCount" != "0" ]; then
Error "Bad GCC usages found: $BadCount"
fi
# BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_[5-9]\. | wc -l`
# if [ "$BadCount" != "0" ]; then
# Error "Bad GCC usages found: $BadCount"
# fi
BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_[5-9]\. | wc -l`
if [ "$BadCount" != "0" ]; then
Error "Bad GCC usages found: $BadCount"
fi
if [ ! -f "$ReleasePath/Updater" ]; then
Error "Updater not found!"