From 8e82b49474c55d7a0d277d3d522fd490c151f7b8 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 3 May 2020 11:30:17 -0400 Subject: [PATCH] meson.eclass: unset FLAGS before calling meson setup Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 13daa961c7bd..4367156b6198 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -345,6 +345,9 @@ meson_src_configure() { # https://bugs.gentoo.org/625396 python_export_utf8_locale + # https://bugs.gentoo.org/720818 + unset {C,CPP,CXX,F,FC,OBJC,OBJCXX,LD}FLAGS + echo "${mesonargs[@]}" >&2 "${mesonargs[@]}" || die } -- 2.26.2