diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/libgfortran.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgfortran.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc index e42843d2f1..58ceb2e073 100644 --- a/meta/recipes-devtools/gcc/libgfortran.inc +++ b/meta/recipes-devtools/gcc/libgfortran.inc | |||
@@ -15,7 +15,8 @@ do_configure () { | |||
15 | mkdir -p ${B}/$target/libgfortran/ | 15 | mkdir -p ${B}/$target/libgfortran/ |
16 | cd ${B}/$target/libgfortran/ | 16 | cd ${B}/$target/libgfortran/ |
17 | chmod a+x ${S}/libgfortran/configure | 17 | chmod a+x ${S}/libgfortran/configure |
18 | ${S}/libgfortran/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | 18 | relpath=${@os.path.relpath("${S}/libgfortran", "${B}/$target/libgfortran")} |
19 | $relpath/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | ||
19 | # Easiest way to stop bad RPATHs getting into the library since we have a | 20 | # Easiest way to stop bad RPATHs getting into the library since we have a |
20 | # broken libtool here | 21 | # broken libtool here |
21 | sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${B}/$target/libgfortran/libtool | 22 | sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${B}/$target/libgfortran/libtool |