Re: [edk2] [PATCH 1/2] BaseTools CLANG35: use -target in PP flags as well

2015-12-17 Thread Ard Biesheuvel
On 17 December 2015 at 10:04, Gao, Liming wrote: > Ard: > Do GCC_VFRPP_FLAGS and GCC_ASLPP_FLAGS require this change? > Probably, let me change that. > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Wednesday, December 16, 2015 6:10 PM > To: edk2-d

Re: [edk2] [PATCH 1/2] BaseTools CLANG35: use -target in PP flags as well

2015-12-17 Thread Gao, Liming
Ard: Do GCC_VFRPP_FLAGS and GCC_ASLPP_FLAGS require this change? -Original Message- From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] Sent: Wednesday, December 16, 2015 6:10 PM To: edk2-devel@lists.01.org; Gao, Liming; Zhu, Yonghong Cc: Ard Biesheuvel Subject: [PATCH 1/2] BaseTool

[edk2] [PATCH 1/2] BaseTools CLANG35: use -target in PP flags as well

2015-12-16 Thread Ard Biesheuvel
The Clang preprocessor may rely on builtin defines that are target dependent, so we should add the -target argument also when invoking the preprocessor directly. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- BaseTools/Conf/tools_def.template | 15 +