From 3d4c153e172c6e3c6fc3c94213dc5fb040dbb122 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 1 Jul 2019 15:25:55 -0500 Subject: [PATCH] buildtools: Disable tls on riscv64 for now Change-Id: I8084e0fa2ffbaf04242fa14617807d83abbd5586 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1556 Reviewed-by: Alex von Gluck IV Reviewed-by: Adrien Destugues --- build/scripts/build_cross_tools_gcc4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 38fc304729..4fff31ee66 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -58,6 +58,15 @@ arm-*) gdbConfigureArgs="--disable-multilib --disable-werror -enable-interwork" gdbTarget="arm-unknown-elf" ;; +riscv*-*) + binutilsConfigureArgs="--disable-multilib" + gccConfigureArgs="--disable-multilib" + gdbConfigureArgs="--disable-multilib" + + # TODO: Disable building with TLS support for riscv until implemented. + binutilsConfigureArgs="$binutilsConfigureArgs --disable-tls" + gccConfigureArgs="$gccConfigureArgs --disable-tls" + ;; powerpc-*) binutilsConfigureArgs="--disable-multilib" gccConfigureArgs="--disable-multilib"