mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Lagom: Do not set -fno-semantic-interposition on macOS
The Mach-O file format does not have ELF's interposition rules, so this flag does not make sense for macOS builds. While GCC silently accepts the unsupported option, Clang issues a warning for it. This commit makes it possible to build Lagom with LLVM from Homebrew.
This commit is contained in:
parent
28a3c064c5
commit
fc3532e9b7
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ add_compile_options(-fno-exceptions)
|
|||
add_compile_options(-fdiagnostics-color=always)
|
||||
add_compile_options(-fPIC -g)
|
||||
add_compile_options(-O2)
|
||||
if (NOT ENABLE_FUZZERS)
|
||||
if (NOT ENABLE_FUZZERS AND NOT APPLE)
|
||||
add_compile_options(-fno-semantic-interposition)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue