[oe-commits] Tom Rini : gcc 4.0.0: Fix fortran building, disable libmudflap/ssp, add gcc-posix-open-fix.patch, add missing cross-initial/ cross-intermediate files, really honor LDFLAGS, bump PR

GIT User account git at amethyst.openembedded.net
Thu Apr 30 16:22:13 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 1f7055b6bbc26c5243cd809d5974b418545fdf03
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1f7055b6bbc26c5243cd809d5974b418545fdf03

Author: Tom Rini <trini at embeddedalley.com>
Date:   Thu Apr 30 08:55:10 2009 -0700

gcc 4.0.0: Fix fortran building, disable libmudflap/ssp, add gcc-posix-open-fix.patch, add missing cross-initial/cross-intermediate files, really honor LDFLAGS, bump PR

---

 recipes/gcc/gcc-4.0.0.inc                   |    8 +++++---
 recipes/gcc/gcc-4.0.0/ldflags.patch         |   22 ----------------------
 recipes/gcc/gcc-cross-initial_4.0.0.bb      |    6 ++++++
 recipes/gcc/gcc-cross-intermediate_4.0.0.bb |    4 ++++
 recipes/gcc/gcc-cross_4.0.0.bb              |    2 +-
 recipes/gcc/gcc_4.0.0.bb                    |    2 +-
 6 files changed, 17 insertions(+), 27 deletions(-)

diff --git a/recipes/gcc/gcc-4.0.0.inc b/recipes/gcc/gcc-4.0.0.inc
index 5745ba0..fe56c34 100644
--- a/recipes/gcc/gcc-4.0.0.inc
+++ b/recipes/gcc/gcc-4.0.0.inc
@@ -1,11 +1,13 @@
 require gcc-common.inc
 
+DEPENDS = "mpfr gmp"
+
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
-	file://zecke-xgcc-cpp.patch;patch=1 \
-	file://ldflags.patch;patch=1"
+	file://gcc-posix-open-fix.patch;patch=1 \
+	file://zecke-xgcc-cpp.patch;patch=1"
 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
 
 # Language Overrides
 FORTRAN = ",f95"
 
-EXTRA_OECONF_BASE = "--disable-libssp"
+EXTRA_OECONF_BASE = "--disable-libssp --disable-libmudflap"
diff --git a/recipes/gcc/gcc-4.0.0/ldflags.patch b/recipes/gcc/gcc-4.0.0/ldflags.patch
deleted file mode 100644
index 1196bf0..0000000
--- a/recipes/gcc/gcc-4.0.0/ldflags.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- gcc-4.0.0/Makefile.tpl.old	2005-06-10 13:05:09.000000000 +0100
-+++ gcc-4.0.0/Makefile.tpl	2005-06-10 13:05:10.000000000 +0100
-@@ -339,7 +339,7 @@
- NM = @NM@
- 
- LD = @LD@
--LDFLAGS = 
-+LDFLAGS = @LDFLAGS@
- 
- RANLIB = @RANLIB@
- 
---- gcc-4.0.0/Makefile.in.old	2005-06-10 17:13:12.000000000 +0100
-+++ gcc-4.0.0/Makefile.in	2005-06-10 17:13:22.000000000 +0100
-@@ -336,7 +336,7 @@
- NM = @NM@
- 
- LD = @LD@
--LDFLAGS = 
-+LDFLAGS = @LDFLAGS@
- 
- RANLIB = @RANLIB@
- 
diff --git a/recipes/gcc/gcc-cross-initial_4.0.0.bb b/recipes/gcc/gcc-cross-initial_4.0.0.bb
new file mode 100644
index 0000000..976cd96
--- /dev/null
+++ b/recipes/gcc/gcc-cross-initial_4.0.0.bb
@@ -0,0 +1,6 @@
+require gcc-cross_${PV}.bb
+require gcc-cross-initial.inc
+
+DEPENDS += "gmp-native mpfr-native"
+
+EXTRA_OECONF += "--disable-multilib --disable-libssp --disable-libmudflap"
diff --git a/recipes/gcc/gcc-cross-intermediate_4.0.0.bb b/recipes/gcc/gcc-cross-intermediate_4.0.0.bb
new file mode 100644
index 0000000..1feb434
--- /dev/null
+++ b/recipes/gcc/gcc-cross-intermediate_4.0.0.bb
@@ -0,0 +1,4 @@
+require gcc-cross_${PV}.bb
+require gcc-cross-intermediate.inc
+
+EXTRA_OECONF += "--disable-multilib --disable-libssp --disable-libmudflap"
diff --git a/recipes/gcc/gcc-cross_4.0.0.bb b/recipes/gcc/gcc-cross_4.0.0.bb
index e192d82..e9e2e7b 100644
--- a/recipes/gcc/gcc-cross_4.0.0.bb
+++ b/recipes/gcc/gcc-cross_4.0.0.bb
@@ -1,4 +1,4 @@
-PR = "r8"
+PR = "r9"
 
 require gcc-${PV}.inc
 require gcc-cross4.inc
diff --git a/recipes/gcc/gcc_4.0.0.bb b/recipes/gcc/gcc_4.0.0.bb
index 1bbab50..5e25980 100644
--- a/recipes/gcc/gcc_4.0.0.bb
+++ b/recipes/gcc/gcc_4.0.0.bb
@@ -1,4 +1,4 @@
-PR = "r6"
+PR = "r7"
 
 require gcc-${PV}.inc
 require gcc-configure-target.inc





More information about the Openembedded-commits mailing list