summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-09-05 15:58:57 +0000
committerDavid S. Miller <davem@gcc.gnu.org>2011-09-05 08:58:57 -0700
commit0913b2d64ed9926d38d1de2370df11b0f98a49e0 (patch)
tree28e0f89376e70e9138d02dc51fd4b9cc290119b0 /gcc/config.host
parente42bcfa38cc3f3315d10f448675807eee860ae3c (diff)
config.host: Add driver-sparc.o and sparc/x-sparc on native sparc*-*-linux* builds.
* config.host: Add driver-sparc.o and sparc/x-sparc on native sparc*-*-linux* builds. * config/sparc/driver-sparc.c: Correct Linux strings. * config/sparc/linux.h: Add DRIVER_SELF_SPECS. * config/sparc/linux64.h: Likewise. * doc/invoke.texi: Document that Linux also supports -mcpu=native and -mtune=native on sparc. From-SVN: r178553
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config.host b/gcc/config.host
index 61a00b57843..df8ba8fa801 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -165,6 +165,14 @@ case ${host} in
;;
esac
;;
+ sparc*-*-linux*)
+ case ${target} in
+ sparc*-*-linux*)
+ host_extra_gcc_objs="driver-sparc.o"
+ host_xmake_file="${host_xmake_file} sparc/x-sparc"
+ ;;
+ esac
+ ;;
esac
# Machine-specific settings.