mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Lagom: Build with -fno-exceptions
We build with this in non-lagom builds, so there's no reason not to use it in lagom builds as well. Reduces the size of liblagom-js.so.0.0.0 from 94M to 90M (from 98352784 to 93831056 bytes to be exact).
This commit is contained in:
parent
3a9c7ce9d4
commit
b11d660ff8
Notes:
sideshowbarker
2024-07-18 02:19:44 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/b11d660ff82 Pull-request: https://github.com/SerenityOS/serenity/pull/10491
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ add_compile_options(-O2)
|
|||
add_compile_options(-Wall -Wextra -Werror)
|
||||
add_compile_options(-fPIC -g)
|
||||
add_compile_options(-Wno-maybe-uninitialized)
|
||||
add_compile_options(-fno-exceptions)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
|
Loading…
Reference in a new issue