mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
configure: If set, pass the cross-tools-prefix when invoking Clang.
This lets clang use our linker and other binutils instead of its own. Now clang builds produce a working bootloader and get all the way to the "rocket" icon, at which point userland init fails.
This commit is contained in:
parent
9ac3062734
commit
ddf7f64365
3
configure
vendored
3
configure
vendored
@ -915,6 +915,9 @@ else
|
||||
# prepare gcc settings and get the actual target architecture
|
||||
if [ $useClang = 1 ]; then
|
||||
gcc="$HAIKU_clang -target ${targetMachine} -no-integrated-as"
|
||||
if [ ! -z "${crossToolsPrefix}" ]; then
|
||||
gcc="$gcc -B ${crossToolsPrefix}"
|
||||
fi
|
||||
|
||||
# Clang's compiler intrinsics are not compatible with GCC's or even
|
||||
# across versions of Clang, so we must collect them for use in the build.
|
||||
|
Loading…
Reference in New Issue
Block a user