summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-05 15:58:57 +0000
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-05 15:58:57 +0000
commitc708d31a9b5d29328b9cb31a470a3c8099571fe2 (patch)
tree28e0f89376e70e9138d02dc51fd4b9cc290119b0 /gcc/config.host
parent2641995aeaa552a6abcc86e22645d8cc1e9811de (diff)
downloadgcc-c708d31a9b5d29328b9cb31a470a3c8099571fe2.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178553 138bc75d-0d04-0410-961f-82ee72b054a4
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.