[U-Boot] [PATCH] sh: only add -mno-fdpic if the compiler supports it
phil.edworthy at renesas.com
phil.edworthy at renesas.com
Thu Oct 13 09:39:45 CEST 2011
Hi Mike,
Mike Frysinger wrote on 13/10/2011 05:45:47:
> Not all SuperH toolchains support -mno-fdpic. Chances are good that if
> the flag doesn't work, it isn't defaulting to the FDPIC ABI, so the flag
> isn't needed. So only add it if it is actually supported.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
Tested on SH7264 with CodeSourcery 2011.03 SH2A toolchain.
Thanks
Phil
More information about the U-Boot
mailing list