Commit f79ac6a8de2902bf9cdd733f1857485133623ab8

Ryan C. Gordon 2021-09-27T23:31:23

cmake: Don't use the CFLAGS environment variable. CMake has standard means of setting compiler flags, such as the -DCMAKE_C_FLAGS command line for general-purpose flags, and -DCMAKE_BUILD_TYPE for letting it choose reasonable release/debug/etc defaults. Trying to emulate the configure script is incorrect and confusing here. Fixes #1819.