]> granicus.if.org Git - clang/commit
Make Gentoo GNU GCC Config override whitespace tolerant
authorErich Keane <erich.keane@intel.com>
Fri, 14 Apr 2017 15:21:18 +0000 (15:21 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 14 Apr 2017 15:21:18 +0000 (15:21 +0000)
commit249076e75ced1241b64a4cf0dff66924b7ccead6
tree0e97a00ca21013ed523e1a57fb8b9566e10611f8
parent437675cc8853d7b449557f01ffddb28e11010d56
Make Gentoo GNU GCC Config override whitespace tolerant

The config-*triple* file handling isn't tolerant of
leading/trailing whitespace, making it not terribly
obvious when a single extraneous tab/space/etc will
cause the override to be ignored. This patch simply
trims the lines to ensure that it is tolerant of
whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300328 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Gnu.cpp