blob: 82ae9f8d14d44fd989d8ee59c9bddd5ee4646e92 [file] [log] [blame]
Andrew Geisslerc182c622020-05-15 14:13:32 -05001From f2a5dc3bc7e5727d6bf77e1c6e8a31a6f000883d Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 08:37:11 +0400
Andrew Geisslerc182c622020-05-15 14:13:32 -05004Subject: [PATCH] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET
Andrew Geissler82c905d2020-04-13 13:39:40 -05005
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Inappropriate [embedded specific]
9---
10 configure | 2 +-
11 configure.ac | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/configure b/configure
Andrew Geisslerc182c622020-05-15 14:13:32 -050015index 4cc938ebb7d..226a64939d1 100755
Andrew Geissler82c905d2020-04-13 13:39:40 -050016--- a/configure
17+++ b/configure
Andrew Geisslerc182c622020-05-15 14:13:32 -050018@@ -7722,7 +7722,7 @@ fi
Andrew Geissler82c905d2020-04-13 13:39:40 -050019 # 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
27diff --git a/configure.ac b/configure.ac
Andrew Geisslerc182c622020-05-15 14:13:32 -050028index c78d9cbea62..f024f4bac9b 100644
Andrew Geissler82c905d2020-04-13 13:39:40 -050029--- a/configure.ac
30+++ b/configure.ac
Andrew Geisslerc182c622020-05-15 14:13:32 -050031@@ -3227,7 +3227,7 @@ fi
Andrew Geissler82c905d2020-04-13 13:39:40 -050032 # 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