mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-25 04:38:23 +00:00
Fix wrong uname flag used
This is required because uname -p actually returns "unknown" for some hardware. The uname help documents this by stating that -p is non-portable. The -m flag is the one to use.
This commit is contained in:
parent
7a849b2899
commit
c5e6bfce95
@ -14,7 +14,7 @@
|
||||
'sources': [
|
||||
'../SourceFiles/platform/linux/linux_glibc_wraps.c',
|
||||
],
|
||||
'conditions': [[ '"<!(uname -p)" == "x86_64" or "<!(uname -p)" == "aarch64"', {
|
||||
'conditions': [[ '"<!(uname -m)" == "x86_64" or "<!(uname -m)" == "aarch64"', {
|
||||
'sources': [
|
||||
'../SourceFiles/platform/linux/linux_glibc_wraps_64.c',
|
||||
],
|
||||
|
@ -25,7 +25,7 @@
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
[ '"<!(uname -p)" == "x86_64" or "<!(uname -p)" == "aarch64"', {
|
||||
[ '"<!(uname -m)" == "x86_64" or "<!(uname -m)" == "aarch64"', {
|
||||
'defines': [
|
||||
'Q_OS_LINUX64',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user