diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-05-12 13:20:11 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-05-24 00:45:58 -0400 |
commit | 8a4a2e00800050a9f236b2834608b725c0e50d32 (patch) | |
tree | fd7ada0072c49222dd5fd20f61ff2a3dd5c3c9dc /eclass | |
parent | sys-apps/systemd: rename usrmerge to split-usr and invert the meaning (diff) | |
download | gentoo-8a4a2e00800050a9f236b2834608b725c0e50d32.tar.gz gentoo-8a4a2e00800050a9f236b2834608b725c0e50d32.tar.bz2 gentoo-8a4a2e00800050a9f236b2834608b725c0e50d32.zip |
meson.eclass: include CFLAGS/CXXFLAGS in c_link_args/cpp_link_args
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/meson.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass index f493bab2d019..48a39d0fa076 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -167,9 +167,9 @@ _meson_create_cross_file() { [properties] c_args = $(_meson_env_array "${CFLAGS}") - c_link_args = $(_meson_env_array "${LDFLAGS}") + c_link_args = $(_meson_env_array "${CFLAGS} ${LDFLAGS}") cpp_args = $(_meson_env_array "${CXXFLAGS}") - cpp_link_args = $(_meson_env_array "${LDFLAGS}") + cpp_link_args = $(_meson_env_array "${CXXFLAGS} ${LDFLAGS}") fortran_args = $(_meson_env_array "${FCFLAGS}") objc_args = $(_meson_env_array "${OBJCFLAGS}") objcpp_args = $(_meson_env_array "${OBJCXXFLAGS}") |