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

build-info: workaround special _FORTIFY_SOURCE defines #1863

Closed
wants to merge 1 commit into from
Closed

build-info: workaround special _FORTIFY_SOURCE defines #1863

wants to merge 1 commit into from

Conversation

norg
Copy link
Member

@norg norg commented Feb 18, 2016

This works around the issue with distributions defining _FORTIFY_SOURCE by default, like Gentoo does (#define _FORTIFY_SOURCE=((defined OPTIMIZE && OPTIMIZE > 0) ? 2 : 0)) and resolves the issue https://redmine.openinfosecfoundation.org/issues/1676

@inliniac
Copy link
Contributor

The explanation really belongs in a code comment in this case. This is one of those things that someone might 'optimize' after looking at the code.

In general, explanations should not just be in pull requests. Make them part of commit messages or code comments or both, whatever makes most sense in specific cases.

Can you do a new PR with the explanation as a code comment?

@inliniac inliniac closed this Feb 23, 2016
@norg norg deleted the workaround-fortify-source2 branch February 25, 2016 20:42
catenacyber added a commit to catenacyber/suricata that referenced this pull request Dec 5, 2018
catenacyber added a commit to catenacyber/suricata that referenced this pull request Dec 5, 2018
catenacyber added a commit to catenacyber/suricata that referenced this pull request Dec 5, 2018
@catenacyber catenacyber mentioned this pull request Dec 5, 2018
3 tasks
victorjulien pushed a commit to victorjulien/suricata that referenced this pull request Dec 19, 2018
victorjulien pushed a commit to victorjulien/suricata that referenced this pull request Dec 19, 2018
victorjulien pushed a commit to victorjulien/suricata that referenced this pull request Dec 19, 2018
victorjulien pushed a commit to victorjulien/suricata that referenced this pull request Feb 16, 2019
catenacyber added a commit to catenacyber/suricata that referenced this pull request Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants