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" # Error "Bad GLIBC usages found: $BadCount"
# fi # fi
# BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_4\.[3-9] | wc -l` BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_4\.[3-9] | wc -l`
# if [ "$BadCount" != "0" ]; then if [ "$BadCount" != "0" ]; then
# Error "Bad GCC usages found: $BadCount" Error "Bad GCC usages found: $BadCount"
# fi fi
# BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_[5-9]\. | wc -l` BadCount=`objdump -T $ReleasePath/$BinaryName | grep GCC_[5-9]\. | wc -l`
# if [ "$BadCount" != "0" ]; then if [ "$BadCount" != "0" ]; then
# Error "Bad GCC usages found: $BadCount" Error "Bad GCC usages found: $BadCount"
# fi fi
if [ ! -f "$ReleasePath/Updater" ]; then if [ ! -f "$ReleasePath/Updater" ]; then
Error "Updater not found!" Error "Updater not found!"