7390ef5553
When invoking clang for the host to assemble .S files, the -B flag
would not be provided, which allowed the host prebuilt clang to
use an 'as' from the native environment. Most of the time this
"just works", but some newer 'as' versions cause problems with
the older prebuilt toolchain, for example by generating
unsupported relocation types.
To avoid this problem, simply use the -B flag to tell clang to
invoke the assembler from the correct prebuilt gcc prefix.
(cherry-picked from AOSP commit
|
||
---|---|---|
.. | ||
arm.mk | ||
arm64.mk | ||
config.mk | ||
HOST_CROSS_x86.mk | ||
HOST_CROSS_x86_64.mk | ||
HOST_x86.mk | ||
HOST_x86_64.mk | ||
HOST_x86_common.mk | ||
mips.mk | ||
mips64.mk | ||
TARGET_arm.mk | ||
TARGET_arm64.mk | ||
TARGET_mips.mk | ||
TARGET_mips64.mk | ||
TARGET_x86.mk | ||
TARGET_x86_64.mk | ||
versions.mk | ||
x86.mk | ||
x86_64.mk |