diff options
author | Oleg Kosenkov <okosenkov@gmail.com> | 2021-06-02 18:25:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 23:25:44 +0100 |
commit | 839aad6e5b3e5af0a9a5f1c09e128966c6d5d928 (patch) | |
tree | b127d1c989385ea19d127430d2705e0a4ba9ed6f /Toolchain | |
parent | 3931b292b051f4e5357e0847254b46e7bd4238c7 (diff) | |
download | serenity-839aad6e5b3e5af0a9a5f1c09e128966c6d5d928.zip |
Toolchain: Set CMAKE_AR to the right executable
Diffstat (limited to 'Toolchain')
-rw-r--r-- | Toolchain/CMake/CMakeToolchain.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Toolchain/CMake/CMakeToolchain.txt b/Toolchain/CMake/CMakeToolchain.txt index ef2551e943..a045b9c3e4 100644 --- a/Toolchain/CMake/CMakeToolchain.txt +++ b/Toolchain/CMake/CMakeToolchain.txt @@ -20,6 +20,7 @@ set(CMAKE_STAGING_PREFIX ${SERENITY_BUILD_DIR}/Root/usr/local) set(CMAKE_INSTALL_PREFIX ${SERENITY_BUILD_DIR}/Root/usr/local) set(CMAKE_INSTALL_DATAROOTDIR ${SERENITY_BUILD_DIR}/Root/usr/local/share) +set(CMAKE_AR $ENV{SERENITY_ARCH}-pc-serenity-ar) set(CMAKE_C_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-gcc) set(CMAKE_CXX_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-g++) |