diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/libgfortran.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgfortran.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc index 194363543e..d3e2b411c8 100644 --- a/meta/recipes-devtools/gcc/libgfortran.inc +++ b/meta/recipes-devtools/gcc/libgfortran.inc | |||
@@ -6,9 +6,7 @@ EXTRA_OECONF_PATHS = "\ | |||
6 | " | 6 | " |
7 | 7 | ||
8 | do_configure () { | 8 | do_configure () { |
9 | mtarget=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` | ||
10 | target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` | 9 | target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` |
11 | hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B} | ||
12 | 10 | ||
13 | echo "Configuring libgfortran" | 11 | echo "Configuring libgfortran" |
14 | rm -rf ${B}/$target/libgfortran/ | 12 | rm -rf ${B}/$target/libgfortran/ |
@@ -21,6 +19,8 @@ do_configure () { | |||
21 | # broken libtool here | 19 | # broken libtool here |
22 | sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${B}/$target/libgfortran/libtool | 20 | sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${B}/$target/libgfortran/libtool |
23 | } | 21 | } |
22 | EXTRACONFFUNCS += "extract_stashed_builddir" | ||
23 | do_configure[depends] += "${COMPILERDEP}" | ||
24 | 24 | ||
25 | do_compile () { | 25 | do_compile () { |
26 | target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` | 26 | target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` |