]> granicus.if.org Git - clang/commit
scan-build: Set CC and CXX as make variables when wrapping make builds.
authorJordan Rose <jordan_rose@apple.com>
Tue, 27 Aug 2013 16:59:33 +0000 (16:59 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 27 Aug 2013 16:59:33 +0000 (16:59 +0000)
commit33881620f4b160f020712f26df57ed39b540fcdd
tree9942e2cf8b7ce0e7abe70de43ddeebc777648432
parent383947cbe466572c69f82f001e66c1ebb520e628
scan-build: Set CC and CXX as make variables when wrapping make builds.

Variables set in a makefile are not overridden by environment variables.
Make sure we actually override CC and CXX when using scan-build.

Patch by Steve McCoy!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189372 91177308-0d34-0410-b5e6-96231b3b80d8
tools/scan-build/scan-build