mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
Lagom: Build with -fno-no-semantic-interposition
Lagom: Build with -fno-no-semantic-interposition We build with this in non-lagom builds, and serenity's gcc even adds it to its CC1_SPEC. Let's use it for lagom too. Reduces the number of dynamic relocations in liblagom-js.so.0.0.0 (per `objdump -R`) from 15133 to 14534, and increases its size back to 91M (95156800 bytes), probably due to more inlining being possible. This might help perf of lagom binaries.
This commit is contained in:
parent
b11d660ff8
commit
ec9488a58c
Notes:
sideshowbarker
2024-07-18 02:19:40 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/ec9488a58cb Pull-request: https://github.com/SerenityOS/serenity/pull/10491
@ -68,6 +68,7 @@ add_compile_options(-Wall -Wextra -Werror)
|
||||
add_compile_options(-fPIC -g)
|
||||
add_compile_options(-Wno-maybe-uninitialized)
|
||||
add_compile_options(-fno-exceptions)
|
||||
add_compile_options(-fno-semantic-interposition)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
Loading…
Reference in New Issue
Block a user