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

AX_CC_MAXOPT always overrides CFLAGS #4

Open
mreineck opened this issue Oct 12, 2021 · 0 comments
Open

AX_CC_MAXOPT always overrides CFLAGS #4

mreineck opened this issue Oct 12, 2021 · 0 comments

Comments

@mreineck
Copy link
Contributor

Maybe I'm doing something wrong, but even when I define CFLAGS before invoking configure, the CFLAGS used for compiling the benchees are always those determined by AX_CC_MAXOPT. The only way I manage to "fix" this is by commenting out AX_CC_MAXOPT in configure.ac and re-running autoreconf etc.

The performance penalty caused by the automatically chosen flags is quite dramatic; more than a factor of 2 for some transforms.

Is there some subtlety I'm missing?

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

No branches or pull requests

1 participant