When running, for example, ./configure --enable-debug CFLAGS=-ggdb CXXFLAGS=-ggdb on a Linux system (or by setting the variables before running the script), the CFLAGS and CXXFLAGS variables passed to configure are ignored, as can be seen by grepping the newly-made Makefile:
When running, for example,
./configure --enable-debug CFLAGS=-ggdb CXXFLAGS=-ggdb
on a Linux system (or by setting the variables before running the script), theCFLAGS
andCXXFLAGS
variables passed to configure are ignored, as can be seen by grepping the newly-madeMakefile
:In this case, it feels like the correct thing to do would be to add any current CFLAGS/CXXFLAGS variables to the end, so this pull request does this.