blob: 66e582ca9898e28b1a34cf75e9e5d70ae378eaa4 [file] [log] [blame]
Andrew Geisslerea144b032023-01-27 16:03:57 -06001From 31f94ef5b43a984a98f0eebd2dcf1b53aa1d7bce Mon Sep 17 00:00:00 2001
Brad Bishopbec4ebc2022-08-03 09:55:16 -04002From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 08:37:11 +0400
4Subject: [PATCH] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET
5
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 Geisslerea144b032023-01-27 16:03:57 -060015index 5dcaab14ae9..f76310a36bb 100755
Brad Bishopbec4ebc2022-08-03 09:55:16 -040016--- a/configure
17+++ b/configure
Andrew Geisslerea144b032023-01-27 16:03:57 -060018@@ -10165,7 +10165,7 @@ fi
Brad Bishopbec4ebc2022-08-03 09:55:16 -040019 # 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 Geisslerea144b032023-01-27 16:03:57 -060028index 85977482aee..8b9097c7a45 100644
Brad Bishopbec4ebc2022-08-03 09:55:16 -040029--- a/configure.ac
30+++ b/configure.ac
Andrew Geisslerea144b032023-01-27 16:03:57 -060031@@ -3346,7 +3346,7 @@ fi
Brad Bishopbec4ebc2022-08-03 09:55:16 -040032 # 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