Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Enable -Werror unconditionally, enable Wl,--no-undefined and Wl,-z,defs on ELF platforms #2983

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

ADKaster
Copy link
Member

No description provided.

@ADKaster
Copy link
Member Author

Recreation of #200 @BertalanD

@gmta
Copy link
Collaborator

gmta commented Dec 20, 2024

CI not happy :-(

@ADKaster
Copy link
Member Author

Ah dang. Looks like I'll have to disable this for the ClangPlugins targets and for the fuzzer build.

@ADKaster ADKaster force-pushed the compiler-flag-fixoop branch from d8e0259 to 72ee54b Compare December 31, 2024 21:29
This is mostly a development helper, to move all undefined symbols
in shared libraries to link time rather than load time.

At the same time, set --no-allow-shlib-undefined and -z,defs to
further enforce the rule.
@ADKaster ADKaster force-pushed the compiler-flag-fixoop branch from 72ee54b to 895bf27 Compare January 2, 2025 21:12
@ADKaster ADKaster merged commit 223b13a into LadybirdBrowser:master Jan 6, 2025
8 checks passed
@ADKaster ADKaster deleted the compiler-flag-fixoop branch January 6, 2025 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants