diff mbox

[GCC/ARM,FYI] Define TM_MULTILIB_CONFIG for ARM multilib

Message ID 61b64c63-9b4b-58f3-ec00-c6d7aaac7f5d@foss.arm.com
State New
Headers show

Commit Message

Thomas Preudhomme May 8, 2017, 2:37 p.m. UTC
Hi,

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.


ChangeLog entry is as follows:

*** gcc/ChangeLog **

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.


Committing as obvious.

Best regards,

Thomas
diff mbox

Patch

diff --git a/gcc/config.gcc b/gcc/config.gcc
index fd7caebf0d155df0b25cc6a8374af57555707fc3..e8aaf2df9d709bf9d95f0a249c79f5813519d51f 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
 		;;