-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[patch] Makefile: make cpu-feature-recognition more flexible under FreeBSD #1234
Comments
By the way: Is there a reason why flags are only adapted for c-compiler, but not c++-compiler? |
Patch could break flag-addition on other BSD-variants (DragonFly, NetBSD, OpenBSD) - I don't know if they relied on the |
Thank you for your suggested changes. If you have changes already written, creating Pull Request is generally a better way to share them with project than creating Issue. You sprinkled some Makefile changes (changing argument order, fixing indentation) other than the main proposed one (adding CPUINFO_CMD for FreeBSD), and such changes are typically better put in separate commits for readability, reviewability and revertability, even if they would be squashed into one commit when merging in the end (which is current maintainer's approach). Unfortunately CPU features in When it comes to As to why only I wrote in comment to #1212 that I plan to introduce simple application that would do CPUID stuff and return what's supported, so it could be used in Makefile on BSDs (or other OSes) that do not have other out-of-the-box means to check it. I just haven't got to implementing it (and ideally I want to do it in reusable way, so it could be used in other projects if desired). But maybe before that will happen, we could indeed go with your suggestion to use |
Created PR in #1238. |
Hi,
I have a small patch for review and possibly integration into master ...
Regards
abelbabel
The text was updated successfully, but these errors were encountered: