From c2f46874fd3d88e0895f90c28da836f389b8e937 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Mon, 8 May 2017 14:35:56 +0000 Subject: [PATCH] Define TM_MULTILIB_CONFIG for ARM multilib 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 gcc/ * config.gcc (arm*-*-*): Set TM_MULTILIB_CONFIG from with_multilib_list after it has been checked. From-SVN: r247741 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5749477..fdc1511 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-05-08 Thomas Preud'homme + + * config.gcc (arm*-*-*): Set TM_MULTILIB_CONFIG from + with_multilib_list after it has been checked. + 2017-05-08 Richard Biener * tree-ssa-pre.c (bitmap_set_and): Avoid bitmap copy. diff --git a/gcc/config.gcc b/gcc/config.gcc index fd7caeb..e8aaf2d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 ;; -- 2.7.4