]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools CLANG35: use -target in PP flags as well
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 4 Jan 2016 09:31:42 +0000 (09:31 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 4 Jan 2016 09:31:42 +0000 (09:31 +0000)
commitc2a892d7c8a78143006bb7fdc95fb18f7e2fc685
treed0908f3ea792be94901aac12f47e76cab54a67de
parentd4dcd5542a88eeee5a268284a4dfe026918f1720
BaseTools CLANG35: use -target in PP flags as well

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 <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19584 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Conf/tools_def.template