diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-13 00:45:47 -0400 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2011-12-02 13:46:20 +0900 |
commit | 4cde1740d259eb3d1f6943e6eb131c33e7b9faf3 (patch) | |
tree | 344a5007145f529a81435129483b30d1388782e4 /arch/sh/cpu/sh2/cpu.c | |
parent | 0c2a37a5d36a7c78cb135b27e1e911c4cb94fe80 (diff) | |
download | u-boot-imx-4cde1740d259eb3d1f6943e6eb131c33e7b9faf3.zip u-boot-imx-4cde1740d259eb3d1f6943e6eb131c33e7b9faf3.tar.gz u-boot-imx-4cde1740d259eb3d1f6943e6eb131c33e7b9faf3.tar.bz2 |
sh: only add -mno-fdpic if the compiler supports it
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@gentoo.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/sh/cpu/sh2/cpu.c')
0 files changed, 0 insertions, 0 deletions