]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Use BUILD_CC when checking gcc version in DevicePath
authorJake Garver <jake@nvidia.com>
Tue, 20 Dec 2022 13:14:12 +0000 (21:14 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 30 Dec 2022 04:30:30 +0000 (04:30 +0000)
commit3a872dac7b79e83b1897d90237ff3fa25c7d69c8
tree6737ac22984fd6e63af96a815397bd264f79b458
parentc5d68ef6e7553ab2894f541eba4e982428ecbd53
BaseTools: Use BUILD_CC when checking gcc version in DevicePath

When checking the version in DevicePath's Makefile, use BUILD_CC instead
of assuming "gcc".  BUILD_CC is set in header.makefile and is the
compiler that will actually be used to build DevicePath.  It defaults to
"gcc", but may be overridden.

Signed-off-by: Jake Garver <jake@nvidia.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/DevicePath/GNUmakefile