diff options
author | Srinath Parvathaneni <srinath.parvathaneni@arm.com> | 2023-02-08 18:39:06 +0000 |
---|---|---|
committer | Srinath Parvathaneni <srinath.parvathaneni@arm.com> | 2023-02-08 18:40:17 +0000 |
commit | 2eeda82d6288fb2a8fbc302d98ed51337e01aaaa (patch) | |
tree | 421bb5889368c1fa5812a13b1f72551c1a802ef5 /gcc/config.gcc | |
parent | 7e9f20f5517429cfaadec14d6b04705e59078565 (diff) | |
download | gcc-2eeda82d6288fb2a8fbc302d98ed51337e01aaaa.zip gcc-2eeda82d6288fb2a8fbc302d98ed51337e01aaaa.tar.gz gcc-2eeda82d6288fb2a8fbc302d98ed51337e01aaaa.tar.bz2 |
arm: Optimize arm-mlib.h header inclusion [pr108505].
I have committed a fix [1] into gcc trunk for a build
issue mentioned in pr108505 and latter received few upstream
comments proposing more robust fix for this issue.
In this patch I'm addressing those comments and sending this
as a followup patch.
gcc/ChangeLog:
2023-01-27 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/108505
* config.gcc (tm_mlib_file): Define new variable.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index f0958e1..067720a 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -4359,6 +4359,7 @@ case "${target}" in case ${arm_multilib} in aprofile|rmprofile) tmake_profile_file="arm/t-multilib" + tm_mlib_file="arm/arm-mlib.h" ;; @*) ml=`echo "X$arm_multilib" | sed '1s,^X@,,'` @@ -4397,7 +4398,7 @@ case "${target}" in # through to the multilib selector with_float="soft" tmake_file="${tmake_file} ${tmake_profile_file}" - tm_file="$tm_file arm/arm-mlib.h" + tm_file="$tm_file $tm_mlib_file" TM_MULTILIB_CONFIG="$with_multilib_list" fi fi |