summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-selftest/recipes-test/fortran/fortran-helloworld.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb b/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
index a897966608..11928dc95a 100644
--- a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
+++ b/meta-selftest/recipes-test/fortran/fortran-helloworld.bb
@@ -6,12 +6,15 @@ DEPENDS = "libgfortran"
6 6
7SRC_URI = "file://hello.f95" 7SRC_URI = "file://hello.f95"
8 8
9S = "${WORKDIR}/sources"
10UNPACKDIR = "${S}"
11
9# These set flags that Fortran doesn't support 12# These set flags that Fortran doesn't support
10SECURITY_CFLAGS = "" 13SECURITY_CFLAGS = ""
11SECURITY_LDFLAGS = "" 14SECURITY_LDFLAGS = ""
12 15
13do_compile() { 16do_compile() {
14 ${FC} ${LDFLAGS} ${UNPACKDIR}/hello.f95 -o ${B}/fortran-hello 17 ${FC} ${LDFLAGS} hello.f95 -o ${B}/fortran-hello
15} 18}
16 19
17do_install() { 20do_install() {