re PR target/57578 (SPE detection broken on Linux (bits/predefs.h: No such file or...
authorRoland Stigge <stigge@antcom.de>
Wed, 12 Jun 2013 13:56:16 +0000 (13:56 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Wed, 12 Jun 2013 13:56:16 +0000 (13:56 +0000)
2013-06-12  Roland Stigge <stigge@antcom.de>

        PR target/57578
        * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection.

From-SVN: r200012

gcc/ChangeLog
gcc/config/rs6000/t-linux

index 5eb9606..99e8f50 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-12  Roland Stigge <stigge@antcom.de>
+
+       PR target/57578
+       * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection.
+
 2013-06-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/57537
index 017a293..62a5b94 100644 (file)
@@ -2,7 +2,7 @@
 # or soft-float.
 ifeq (,$(filter $(with_cpu),$(SOFT_FLOAT_CPUS))$(findstring soft,$(with_float)))
 ifneq (,$(findstring spe,$(target)))
-MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h, $(tm_file_list)),,v1)
+MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring 8548,$(with_cpu)),,v1)
 else
 MULTIARCH_DIRNAME = powerpc-linux-gnu
 endif