Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 1 | From 368eaf1846733a9920c7cf5bc547a377e7167785 Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 29 Mar 2013 08:37:11 +0400 |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 4 | Subject: [PATCH] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | |
| 8 | Upstream-Status: Inappropriate [embedded specific] |
| 9 | --- |
| 10 | configure | 2 +- |
| 11 | configure.ac | 2 +- |
| 12 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 13 | |
| 14 | diff --git a/configure b/configure |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 15 | index 504f6410274..bcebad264ec 100755 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 16 | --- a/configure |
| 17 | +++ b/configure |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 18 | @@ -9728,7 +9728,7 @@ fi |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 19 | # for target_alias and gcc doesn't manage it consistently. |
| 20 | target_configargs="--cache-file=./config.cache ${target_configargs}" |
| 21 | |
| 22 | -FLAGS_FOR_TARGET= |
| 23 | +FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET" |
| 24 | case " $target_configdirs " in |
| 25 | *" newlib "*) |
| 26 | case " $target_configargs " in |
| 27 | diff --git a/configure.ac b/configure.ac |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 28 | index 088e735c5db..1289fe08760 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 29 | --- a/configure.ac |
| 30 | +++ b/configure.ac |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 31 | @@ -3240,7 +3240,7 @@ fi |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 32 | # for target_alias and gcc doesn't manage it consistently. |
| 33 | target_configargs="--cache-file=./config.cache ${target_configargs}" |
| 34 | |
| 35 | -FLAGS_FOR_TARGET= |
| 36 | +FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET" |
| 37 | case " $target_configdirs " in |
| 38 | *" newlib "*) |
| 39 | case " $target_configargs " in |