Pass CPPFLAGS/CFLAGS/CXXFLAGS from the environment of configure to
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Mon, 4 Feb 2013 08:15:53 +0000 (08:15 +0000)
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Mon, 4 Feb 2013 08:15:53 +0000 (08:15 +0000)
commit6c440fcea52e27b3befcf2ad5f7dcc58a15a2e58
tree0c9fb20caea3bdc811604281d25d7bd76a075617
parent9c02a276049cbd1d1511a88ebc7a22bb33658237
Pass CPPFLAGS/CFLAGS/CXXFLAGS from the environment of configure to
Makefile.config.

This is implied at the bottom of the help text of configure (besides
CC/CXX/LDFLAGS, already passed to Makefile.config).

For backward compatibility, the values of CFLAGS and CXXFLAGS defaults
to empty, overriding the default values provided by autoconf (for
example, '-g -O2' when CC=gcc').

$(CPP) is not used by our makefiles. Therefore, the value of CPP is
not passed to Makefile.config, despite beeing mentioned by 'configure
--help'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174313 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.config.in
autoconf/configure.ac
configure
docs/MakefileGuide.rst