jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.18k stars 1.73k forks source link

Fix build config for *-eabihf targets #977

Closed ryankurte closed 4 years ago

ryankurte commented 4 years ago

Hey thanks for the help looking at / improving this!

As the eabi match appears to be derived from the HOST argument this needs to cover both arm-none-eabi and arm-none-eabihf (though presumably not arm-linux-gnueabi for instance).

I've expanded it from eabi to eabi* as with other listed options, though eabi|eabihf would be equally applicable if it is preferred.

Related to: https://github.com/sodiumoxide/sodiumoxide/issues/363 Initial commit: https://github.com/jedisct1/libsodium/commit/e04088d0b29f3d9f4575cb6d9c16b93a00bd1041