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

Cross compilation broken on OSX: wrong archiver flags #178

Open
flxo opened this issue Aug 5, 2019 · 3 comments
Open

Cross compilation broken on OSX: wrong archiver flags #178

flxo opened this issue Aug 5, 2019 · 3 comments
Labels

Comments

@flxo
Copy link
Member

flxo commented Aug 5, 2019

As already mentioned in #176 it is not possible to overwrite the archiver flags. The patch for fixing #176 statically decides about the archiver flags based on the host. The following scenario is broken:

  • Host OSX
  • (Cross) Toolchain with a ar as archiver

bake will pick the libtool flags because of the host type. This doesn't work if the archiver command is set to some ar variant (common case for cross compilation).

@aschaal
Copy link
Contributor

aschaal commented Aug 5, 2019

Yes, you are right. I will add an option to overwrite these flags.

@flxo
Copy link
Member Author

flxo commented Aug 6, 2019

Thanks @aschaal. Ping me for real world test before a release.

@aschaal aschaal added the bake3 label Oct 11, 2019
@aschaal
Copy link
Contributor

aschaal commented Oct 11, 2019

After talking to flxo this fix is not urgently needed, to it will be shifted.
Internal starndard flags will be removed in bake3, which should fix this automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants