aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-svn/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-04-06 12:16:23 -0700
committerKhem Raj <raj.khem@gmail.com>2009-04-06 12:16:23 -0700
commit877fed8078d379d213290b791a8a1282867f5061 (patch)
tree7ff5220fd262e343cc3b70634b41771d14580cdd /recipes/gcc/gcc-svn/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
parentfe6822f3e85d5b14586d747c72b4e0395d981ea9 (diff)
downloadopenembedded-877fed8078d379d213290b791a8a1282867f5061.tar.gz
openembedded-877fed8078d379d213290b791a8a1282867f5061.tar.bz2
openembedded-877fed8078d379d213290b791a8a1282867f5061.zip
gcc-svn: Add recipe to build bleeding edge gcc.
Diffstat (limited to 'recipes/gcc/gcc-svn/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch')
-rw-r--r--recipes/gcc/gcc-svn/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-svn/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/recipes/gcc/gcc-svn/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
new file mode 100644
index 0000000000..f33e6c1ea6
--- /dev/null
+++ b/recipes/gcc/gcc-svn/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
@@ -0,0 +1,31 @@
+---
+ configure | 2 +-
+ configure.ac | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+Index: gcc-4.3.1/configure.ac
+===================================================================
+--- gcc-4.3.1.orig/configure.ac 2008-07-21 12:29:18.000000000 -0700
++++ gcc-4.3.1/configure.ac 2008-07-21 12:29:35.000000000 -0700
+@@ -2352,7 +2352,7 @@ fi
+ # for target_alias and gcc doesn't manage it consistently.
+ target_configargs="--cache-file=./config.cache ${target_configargs}"
+
+-FLAGS_FOR_TARGET=
++FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET"
+ case " $target_configdirs " in
+ *" newlib "*)
+ case " $target_configargs " in
+Index: gcc-4.3.1/configure
+===================================================================
+--- gcc-4.3.1.orig/configure 2008-07-21 12:29:48.000000000 -0700
++++ gcc-4.3.1/configure 2008-07-21 12:29:59.000000000 -0700
+@@ -5841,7 +5841,7 @@ fi
+ # for target_alias and gcc doesn't manage it consistently.
+ target_configargs="--cache-file=./config.cache ${target_configargs}"
+
+-FLAGS_FOR_TARGET=
++FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET"
+ case " $target_configdirs " in
+ *" newlib "*)
+ case " $target_configargs " in