The top-level configure script does not know this option, but it calls several sub-configures that all know it.
Copied mostly from arm-none-eabi-binutils.