Add support for CPPFLAGS environment variable
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In top source directory:
$ mkdir build && cd build $ CPPFLAGS=-D_FORTIFY_SOURCE=2 cmake ..
Then grep from all the generated files, there is no such keyword "FORTIFY".
Again, we cannot find anything related to the
CPPFLAGS in generated files after building, which means it's ignored completely.