summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/meson.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 731177e7fbf6..06e76092a6b9 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -171,8 +171,11 @@ _meson_create_cross_file() {
cpp_args = $(_meson_env_array "${CXXFLAGS} ${CPPFLAGS}")
cpp_link_args = $(_meson_env_array "${CXXFLAGS} ${LDFLAGS}")
fortran_args = $(_meson_env_array "${FCFLAGS}")
+ fortran_link_args = $(_meson_env_array "${FCFLAGS} ${LDFLAGS}")
objc_args = $(_meson_env_array "${OBJCFLAGS} ${CPPFLAGS}")
+ objc_link_args = $(_meson_env_array "${OBJCFLAGS} ${LDFLAGS}")
objcpp_args = $(_meson_env_array "${OBJCXXFLAGS} ${CPPFLAGS}")
+ objcpp_link_args = $(_meson_env_array "${OBJCXXFLAGS} ${LDFLAGS}")
[host_machine]
system = '${system}'