Define TM_MULTILIB_CONFIG for ARM multilib
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 8 May 2017 14:35:56 +0000 (14:35 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Mon, 8 May 2017 14:35:56 +0000 (14:35 +0000)
TM_MULTILIB_CONFIG is not set in config.gcc when building with multilib
for arm targets, leading to config/arm/t-multilib not including any of
the files (t-aprofile and t-rmprofile) definining the architecture and
FPU to build multilib for. This patch fixes that by setting
TM_MULTILIB_CONFIG to with_multilib_list's value after it has been
checked. It also fix a trailing whitespace issue.

2017-05-08  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * config.gcc (arm*-*-*): Set TM_MULTILIB_CONFIG from
    with_multilib_list after it has been checked.

From-SVN: r247741

gcc/ChangeLog
gcc/config.gcc

index 5749477..fdc1511 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-08  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config.gcc (arm*-*-*): Set TM_MULTILIB_CONFIG from
+       with_multilib_list after it has been checked.
+
 2017-05-08  Richard Biener  <rguenther@suse.de>
 
        * tree-ssa-pre.c (bitmap_set_and): Avoid bitmap copy.
index fd7caeb..e8aaf2d 100644 (file)
@@ -3803,7 +3803,7 @@ case "${target}" in
                                                ;;
                                        esac
                                done
-                       fi                              
+                       fi
 
                        if test "x${tmake_profile_file}" != x ; then
                                # arm/t-aprofile and arm/t-rmprofile are only
@@ -3820,6 +3820,7 @@ case "${target}" in
                                fi
 
                                tmake_file="${tmake_file} ${tmake_profile_file}"
+                               TM_MULTILIB_CONFIG="$with_multilib_list"
                        fi
                fi
                ;;