diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-05 00:48:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-05 14:24:43 +0000 |
commit | 5bde5d9b39ea67f19a1a6aedd0c08c6cfedcbe5f (patch) | |
tree | 0dd4a18f59565236a07548ddba67d9cc52b5de07 /meta/recipes-devtools/gcc/gcc-runtime.inc | |
parent | a67654e06ec8b0bda8fe953e1b5357e2d297c375 (diff) | |
download | poky-5bde5d9b39ea67f19a1a6aedd0c08c6cfedcbe5f.tar.gz |
gcc: Allow fortran to build successfully in 4.8
gcc 4.8 fortran presents some challenges:
* libquadmath headers need to be in the libexec include dir. It turns out
to be easiest just to manually do this.
* libgfortran configure needs libquadmath to be compiled. This means
a separate recipe is needed (the alternative is gross hacks)
* the libtool uses to link libgfortran doesn't have our improved rpath
handling and puts bogus RPATHS into the libraries. We can avoid this
by tweaking libtool with sed.
This patch resolves those issues. Any user of fortran does need to DEPEND
on libgfortran in order to trigger it to build but this shouldn't be a major
issue.
(From OE-Core rev: a5e7ee5770b9e0cf719c573efffd874440f74289)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 2599760569..d3b11a759f 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -16,7 +16,7 @@ RUNTIMETARGET = "libssp libstdc++-v3 libgomp" | |||
16 | # ? | 16 | # ? |
17 | # libiberty | 17 | # libiberty |
18 | # libmudflap | 18 | # libmudflap |
19 | # libgfortran | 19 | # libgfortran needs separate recipe due to libquadmath dependency |
20 | 20 | ||
21 | do_configure () { | 21 | do_configure () { |
22 | export CXX="${CXX} -nostdinc++ -nostdlib++" | 22 | export CXX="${CXX} -nostdinc++ -nostdlib++" |