When looking for a working compiler, configure tries to compile a test program but ignores CXXFLAGS, CXXFLAGS_EXTRA, LDFLAGS and LDFLAGS_EXTRA.
When looking for a working compiler, configure tries to compile a test program but ignores CXXFLAGS, CXXFLAGS_EXTRA, LDFLAGS and LDFLAGS_EXTRA.