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: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Showing
想要评论请 注册 或 登录