-
Notifications
You must be signed in to change notification settings - Fork 16
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
Set recommended compiler flags #249
Conversation
ffoulkes
commented
Aug 11, 2023
- Set C and C++ compiler flags according to the Intel Secure Coding Standards.
Unfortunately, throwing in all the compiler flags IPAS recommends makes us incompatible with libraries that aren't built with (some of) the flags we're now specifying. It's going to take a while to figure out which options are causing the problems and find a way to deal with it. I've worked around it for now by adding support for "legacy" legacy -- replicating the settings we used when cross-compiling for ACC. In the meantime, this module is a significant improvement over the existing code. |
I don't have access to a system that allows me to verify that the code cross-compiles for ACC. I'm working on solving that problem, but it might be quicker if someone else can test it for me. I have no intention of merging this PR until we've verified that it does not break the ACC build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dfba251
to
5761217
Compare
5761217
to
d4a5c14
Compare
- Functions to set C and C++ compiler flags according to the Intel Secure Coding Standards. (squashed) (rebased) Signed-off-by: Derek G Foster <[email protected]>
d4a5c14
to
84d2cd1
Compare
Signed-off-by: Derek G Foster <[email protected]>