need to use uname -m
This commit is contained in:
parent
4783d34c26
commit
e84f0d5c82
|
@ -2,7 +2,7 @@
|
|||
# SPDX-FileCopyrightText: 2023 Daniel Wolf <nephatrine@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: ISC
|
||||
if [[ "$(uname -a)" == "x86_64" ]]; then
|
||||
if [[ "$(uname -m)" == "x86_64" ]]; then
|
||||
/usr/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/nxbuild/linux-i686-m32.cmake "$@"
|
||||
else
|
||||
/usr/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/nxbuild/linux-i686.cmake "$@"
|
||||
|
|
Loading…
Reference in New Issue