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

CMAKE_CXX_FLAGS from cmake arguments are ignored #151

Closed
starius opened this issue Dec 4, 2016 · 1 comment
Closed

CMAKE_CXX_FLAGS from cmake arguments are ignored #151

starius opened this issue Dec 4, 2016 · 1 comment

Comments

@starius
Copy link

starius commented Dec 4, 2016

This commit 4ea1cdc drops CMAKE_CXX_FLAGS provided in cmake arguments. This is probably a reason on bug mxe/mxe#1586

Can you elaborate on reasoning behind this change, please?

How to add flags to the compiler now?

@vincent-richard
Copy link
Member

Hello!

It seems I made a mistake in an attempt to fix another issue (recursive CXX flags). Actually, the CMAKE_CXX_FLAGS should never be cached, here is the correct fix.

Thanks.

starius added a commit to LuaAndC/mxe that referenced this issue Dec 7, 2016
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

2 participants