After this change, only ./configure will pick up these variables from the environment.
This is an incompatible change to long-standing behavior of Sage, but the change will bring the build system in line with autotools and avoid confusing failures.
Overriding CC, CFLAGS, ... will still be possible by passing them as makefile variables on the command line (make CFLAGS="-gggg" build)
(previous related tickets: #29507, #23570, #30375)
CC: @kliem @dimpase
Component: build
Author: Jonathan Kliem
Branch/Commit: public/32436 @ 1e5da46
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/32436