aboutsummaryrefslogtreecommitdiff
path: root/cmake/toolchain/aarch64-linux-gnu.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/toolchain/aarch64-linux-gnu.cmake')
-rw-r--r--cmake/toolchain/aarch64-linux-gnu.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/toolchain/aarch64-linux-gnu.cmake b/cmake/toolchain/aarch64-linux-gnu.cmake
index 31fd953..8d95e57 100644
--- a/cmake/toolchain/aarch64-linux-gnu.cmake
+++ b/cmake/toolchain/aarch64-linux-gnu.cmake
@@ -1,5 +1,5 @@
#
-# SPDX-FileCopyrightText: Copyright 2020-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+# SPDX-FileCopyrightText: Copyright 2020-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -16,9 +16,11 @@
# limitations under the License.
#
-set(CMAKE_SYSTEM_NAME Generic)
+set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_C_COMPILER "aarch64-linux-gnu-gcc")
set(CMAKE_CXX_COMPILER "aarch64-linux-gnu-g++")
+set(CMAKE_LINKER "aarch64-linux-gnu-ld")
+
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_SYSTEM_PROCESSOR "aarch64")