summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.1.1/gcc41-configure.in.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-06-10 14:22:28 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-10 14:22:28 +0000
commit3af76ca9c5dd3d1ff7bd5b57c2221a7255d6baf7 (patch)
treef6c6ec5e63e013ad5a2eeae629c31411b60ebe36 /packages/gcc/gcc-4.1.1/gcc41-configure.in.patch
parentc7f3725d8ab361dd85077638ba965481a80ba526 (diff)
gcc-4.1.1: added patch for configure to compile with the right target flags
(copied from 3.4.4). bumped PR for both 4.1.1 bb files
Diffstat (limited to 'packages/gcc/gcc-4.1.1/gcc41-configure.in.patch')
-rw-r--r--packages/gcc/gcc-4.1.1/gcc41-configure.in.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.1/gcc41-configure.in.patch b/packages/gcc/gcc-4.1.1/gcc41-configure.in.patch
new file mode 100644
index 0000000000..3d33bcb978
--- /dev/null
+++ b/packages/gcc/gcc-4.1.1/gcc41-configure.in.patch
@@ -0,0 +1,22 @@
+--- gcc-3.4.4/configure.in.orig 2005-08-09 19:57:51.504323183 -0700
++++ gcc-3.4.4/configure.in 2005-08-09 20:00:12.073168623 -0700
+@@ -1907,7 +1907,7 @@
+ *) gxx_include_dir=${with_gxx_include_dir} ;;
+ esac
+
+-FLAGS_FOR_TARGET=
++FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET"
+ case " $target_configdirs " in
+ *" newlib "*)
+ case " $target_configargs " in
+--- gcc-3.4.4/configure.orig 2005-08-09 21:02:29.668360660 -0700
++++ gcc-3.4.4/configure 2005-08-09 21:02:50.157649970 -0700
+@@ -2669,7 +2669,7 @@
+ *) gxx_include_dir=${with_gxx_include_dir} ;;
+ esac
+
+-FLAGS_FOR_TARGET=
++FLAGS_FOR_TARGET="$ARCH_FLAGS_FOR_TARGET"
+ case " $target_configdirs " in
+ *" newlib "*)
+ case " $target_configargs " in