vdso32: Invoke clang with correct path to GCC toolchain
authorDaniel Mentz <danielmentz@google.com>
Thu, 21 Feb 2019 00:59:14 +0000 (16:59 -0800)
committerBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 17:09:54 +0000 (18:09 +0100)
commit46d964301579b30b3cbd1fed10ac8ea7bb6f69f0
tree964f4a8f307aa5d084486587d4fc65e8935355a5
parent3cbe0022f9d4bc55eeb7298d76c23ba714ba0146
vdso32: Invoke clang with correct path to GCC toolchain

Clang needs to have access to a GCC toolchain which we advertise using
the command line option --gcc-toolchain=. Clang previously picked the
wrong toolchain which resulted in the following error message:

/..//bin/as: unrecognized option '-EL'

Bug: 123422077
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: I3e339dd446b71e2c75eb9e2c186eba715b3771cd
arch/arm64/Makefile
arch/arm64/kernel/vdso32/Makefile