summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-05-12 13:36:45 -0400
committerMike Gilbert <floppym@gentoo.org>2018-05-24 00:46:33 -0400
commit6b0847e78daf992cee821a212209def646e5fcae (patch)
treea8d907bb4d5768a6616ea5f4ceb07ae4d5e8ac57 /eclass/meson.eclass
parentmeson.eclass: include CPPFLAGS in {c,cpp,objc,objcpp}_args (diff)
downloadgentoo-6b0847e78daf992cee821a212209def646e5fcae.tar.gz
gentoo-6b0847e78daf992cee821a212209def646e5fcae.tar.bz2
gentoo-6b0847e78daf992cee821a212209def646e5fcae.zip
meson.eclass: define {fortran,objc,objcpp}_link_args
Diffstat (limited to 'eclass/meson.eclass')
-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}'