mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Toolchain: Use gcc's ar
the vanilla versions might not handle all things, that gcc can do; For example is lto not really supported by the vanilla versions source: https://gcc.gnu.org/wiki/LinkTimeOptimizationFAQ
This commit is contained in:
parent
0d1481be7d
commit
6fe7d4d7b8
Notes:
sideshowbarker
2024-07-18 16:59:04 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/6fe7d4d7b87 Pull-request: https://github.com/SerenityOS/serenity/pull/7714
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ 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_AR $ENV{SERENITY_ARCH}-pc-serenity-gcc-ar)
|
||||
set(CMAKE_RANLIB $ENV{SERENITY_ARCH}-pc-serenity-gcc-ranlib)
|
||||
set(CMAKE_C_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-gcc)
|
||||
set(CMAKE_CXX_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-g++)
|
||||
|
||||
|
|
Loading…
Reference in a new issue