diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-05-03 13:25:56 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-05-03 13:25:56 -0400 |
commit | d797a28c901c6262835b3a1d29ad8e192e9c1ecd (patch) | |
tree | 889f3ef8ae3d439a13f79f78cd2b7a15fd09d107 /eclass/meson.eclass | |
parent | dev-perl/Perl-Strip: Remove IUSE="test" (diff) | |
download | gentoo-d797a28c901c6262835b3a1d29ad8e192e9c1ecd.tar.gz gentoo-d797a28c901c6262835b3a1d29ad8e192e9c1ecd.tar.bz2 gentoo-d797a28c901c6262835b3a1d29ad8e192e9c1ecd.zip |
meson.eclass: use export -n instead of unset
This ensures the variables are still availble if the configure function is
called more than once, as would happen for a multilib build.
Bug: https://bugs.gentoo.org/720818
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r-- | eclass/meson.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 4367156b6198..17875d97c47b 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -346,7 +346,7 @@ meson_src_configure() { python_export_utf8_locale # https://bugs.gentoo.org/720818 - unset {C,CPP,CXX,F,FC,OBJC,OBJCXX,LD}FLAGS + export -n {C,CPP,CXX,F,FC,OBJC,OBJCXX,LD}FLAGS echo "${mesonargs[@]}" >&2 "${mesonargs[@]}" || die |