scripts: gki: Add LD to make args to enable CFI/LTO

Include LD also as a make argument to enable CFI to satisfy the
ld.lld requirement in order to enable CONFIG_LD_IS_LLD.

Change-Id: I1ffa90fd88cbd2e953137380186e30cfd4e12b16
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
This commit is contained in:
Prakruthi Deepak Heragu 2020-01-21 11:48:16 -08:00 • committed by Gerrit - the friendly Code Review server
commit b3c2bf5498
2 changed files with 2 additions and 0 deletions

View file

@ -32,6 +32,7 @@ KERN_MAKE_ARGS="ARCH=$ARCH \
HOSTCC=$HOSTCC \
HOSTLD=$HOSTLD \
HOSTAR=$HOSTAR \
LD=$LD \
"
# Allyes fragment temporarily created on GKI config fragment

View file

@ -32,6 +32,7 @@ KERN_MAKE_ARGS="ARCH=$ARCH \
HOSTCC=$HOSTCC \
HOSTLD=$HOSTLD \
HOSTAR=$HOSTAR \
LD=$LD \
"
# Allyes fragment temporarily created on GKI config fragment