mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Return GCC feature checks on Linux.
This commit is contained in:
@@ -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!"
|
||||||
|
|||||||
Reference in New Issue
Block a user