7 cross_file="/cross_file-$arch.txt"
9 # armv7 has the toolchain split between two names.
12 # Note that we disable C++ exceptions, because Mesa doesn't use exceptions,
13 # and allowing it in code generation means we get unwind symbols that break
14 # the libEGL and driver symbol tests.
16 cat >$cross_file <<EOF
18 ar = '$ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/$arch-ar'
19 c = ['ccache', '$ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/${arch2}29-clang', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables']
20 cpp = ['ccache', '$ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/${arch2}29-clang++', '-fno-exceptions', '-fno-unwind-tables', '-fno-asynchronous-unwind-tables', '-static-libstdc++']
23 strip = '$ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/$arch-strip'
24 pkgconfig = ['/usr/bin/pkg-config']
28 cpu_family = '$cpu_family'
33 needs_exe_wrapper = true