bake icon indicating copy to clipboard operation
bake copied to clipboard

Cross compilation broken on OSX: wrong archiver flags

Open flxo opened this issue 6 years ago • 3 comments

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).

flxo avatar Aug 05 '19 09:08 flxo

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

aschaal avatar Aug 05 '19 16:08 aschaal

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

flxo avatar Aug 06 '19 06:08 flxo

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.

aschaal avatar Oct 11 '19 08:10 aschaal