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

Some build updates and checker fixes #2531

Merged
merged 6 commits into from
Jan 27, 2025
Merged

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

Ununtu 24.04 onwards defines _FORTIFY_SOURCE=3 by default, but keepalived
was defining it to be 2, and the check for whether it was already defined
was not being done correctly.

This commit adds checking whether _FORTIFY_SOURCE is defined as a compiler
default, and now no longer explicitly sets it if it is.

Signed-off-by: Quentin Armitage <[email protected]>
gcc advises against using -Wp,-D...

Signed-off-by: Quentin Armitage <[email protected]>
Various distros already use _FORTIFY_SOURCE=3 by default, so we
should do so too.

Signed-off-by: Quentin Armitage <[email protected]>
Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit 23cbdf6 into acassen:master Jan 27, 2025
10 checks passed
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.

1 participant