I'm having some trouble understanding how to write
a MULTILIB_MATCHES specification.
I need to treat a simple option like "-mhard-float" the
same as an option with a value "-mfp=hard". Here's what
I came up with:
MULTILIB_OPTIONS = mfp=hard
MULTILIB_DIRNAMES = hard
MULTILIB_MATCHES = mfp?hard=mhard-float
When I specify -mfp=hard, the correct lib ("hard")is selected.
When I specify -mhard-float, the default is selected.
How should I write the MULTILIB_MATCHES spec to do this?
(The docs are less than clear about the MULTILIB_MATCHES
option and don't mention using '?'.)