diff options
-rw-r--r-- | meta-selftest/recipes-test/fortran/fortran-helloworld.bb | 2 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb b/meta-selftest/recipes-test/fortran/fortran-helloworld.bb index 3a464044775..d050d648482 100644 --- a/meta-selftest/recipes-test/fortran/fortran-helloworld.bb +++ b/meta-selftest/recipes-test/fortran/fortran-helloworld.bb @@ -11,7 +11,7 @@ SECURITY_CFLAGS = "" SECURITY_LDFLAGS = "" do_compile() { - ${FC} ${LDFLAGS} ${WORKDIR}/hello.f95 -o ${B}/fortran-hello + ${FC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/hello.f95 -o ${B}/fortran-hello } do_install() { diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 68f24278d04..d9463c1fca3 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -516,7 +516,7 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" export CC = "${CCACHE}${HOST_PREFIX}gcc${TOOLCHAIN_OPTIONS}" export CXX = "${CCACHE}${HOST_PREFIX}g++${TOOLCHAIN_OPTIONS}" -export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" +export FC = "${CCACHE}${HOST_PREFIX}gfortran${TOOLCHAIN_OPTIONS}" export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS}" export LD = "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS}" export CCLD = "${CC}" |