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 5749477e52e9f2b6f2e54b08b9b779e3a1624c84..fdc151110520f52e4e6ada0573f09b9de2888f76 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 fd7caebf0d155df0b25cc6a8374af57555707fc3..e8aaf2df9d709bf9d95f0a249c79f5813519d51f 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
                ;;