mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +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:
committed by
John Preston
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',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user