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 c68645e392..fa6aecaaa3 100644 --- a/meta/recipes-devtools/gcc/libgfortran.inc +++ b/meta/recipes-devtools/gcc/libgfortran.inc | |||
@@ -8,7 +8,7 @@ EXTRA_OECONF_PATHS = "\ | |||
8 | # An arm hard float target like raspberrypi4 won't build | 8 | # An arm hard float target like raspberrypi4 won't build |
9 | # as CFLAGS don't make it to the fortran compiler otherwise | 9 | # as CFLAGS don't make it to the fortran compiler otherwise |
10 | # (the configure script sets FC to $GFORTRAN unconditionally) | 10 | # (the configure script sets FC to $GFORTRAN unconditionally) |
11 | export GFORTRAN = "${FC}" | 11 | export GFORTRAN = "${FC} -ffile-prefix-map=${S}=${TARGET_DBGSRC_DIR} -ffile-prefix-map=${B}=${TARGET_DBGSRC_DIR} -gno-record-gcc-switches" |
12 | 12 | ||
13 | do_configure () { | 13 | do_configure () { |
14 | for target in libbacktrace libgfortran | 14 | for target in libbacktrace libgfortran |
@@ -49,7 +49,7 @@ do_install () { | |||
49 | 49 | ||
50 | # avoid virtual/libc | 50 | # avoid virtual/libc |
51 | INHIBIT_DEFAULT_DEPS = "1" | 51 | INHIBIT_DEFAULT_DEPS = "1" |
52 | DEPENDS = "virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}compilerlibs" | 52 | DEPENDS = "virtual/cross-cc virtual/compilerlibs" |
53 | 53 | ||
54 | BBCLASSEXTEND = "nativesdk" | 54 | BBCLASSEXTEND = "nativesdk" |
55 | 55 | ||