From: Paolo Bonzini Date: Fri, 5 Nov 2021 09:08:43 +0000 (+0100) Subject: configure: preserve CFLAGS, CXXFLAGS and LDFLAGS in config.status X-Git-Tag: v6.2.0-rc0~7^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8009da037418d454d4833e7d3c3367f2f4d7244a;p=thirdparty%2Fqemu.git configure: preserve CFLAGS, CXXFLAGS and LDFLAGS in config.status CFLAGS, CXXFLAGS and LDFLAGS influence the tests (for example if they include -L or -I options), so they should be kept from the invocation of configure to the subsequent reinvocations via config.status. Reviewed-by: Thomas Huth Signed-off-by: Paolo Bonzini --- diff --git a/configure b/configure index 369b5455b6d..d268f592464 100755 --- a/configure +++ b/configure @@ -4057,9 +4057,12 @@ preserve_env AR preserve_env AS preserve_env CC preserve_env CPP +preserve_env CFLAGS preserve_env CXX +preserve_env CXXFLAGS preserve_env INSTALL preserve_env LD +preserve_env LDFLAGS preserve_env LD_LIBRARY_PATH preserve_env LIBTOOL preserve_env MAKE