diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/libgfortran.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgfortran.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc index e810146d4d..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 |
@@ -47,8 +47,9 @@ do_install () { | |||
47 | chown -R root:root ${D} | 47 | chown -R root:root ${D} |
48 | } | 48 | } |
49 | 49 | ||
50 | # avoid virtual/libc | ||
50 | INHIBIT_DEFAULT_DEPS = "1" | 51 | INHIBIT_DEFAULT_DEPS = "1" |
51 | DEPENDS = "gcc-runtime gcc-cross-${TARGET_ARCH}" | 52 | DEPENDS = "virtual/cross-cc virtual/compilerlibs" |
52 | 53 | ||
53 | BBCLASSEXTEND = "nativesdk" | 54 | BBCLASSEXTEND = "nativesdk" |
54 | 55 | ||