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

Fixes #19027: fail to build on solaris #2459

Conversation

peckpeck
Copy link
Member

@peckpeck peckpeck requested a review from amousset March 13, 2021 16:22
@@ -225,11 +225,11 @@ test_cc() {
# test options one by one to enable as many as possible

# try strong first
test_cc "SECURE" "-fstack-protector-strong" ""
test_cc "SECURE" "-fstack-protector-strong" "-fstack-protector-strong"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why passing it as ldflag?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because security protections need various libraries and the linker knows which ones but sometimes doesn't guess by itself it should include them

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 6104a7f into Normation:master Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants