From 263c4ee3e67b3edfe59e971359eee2a7be93662c Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Wed, 6 May 2015 09:49:52 +0000 Subject: [PATCH] Use RUMP_CURLWP=__thread on baremetal Hold back on Xen until TLS works in our 32bit guests. --- build-rr.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-rr.sh b/build-rr.sh index aa59e06..2438d21 100755 --- a/build-rr.sh +++ b/build-rr.sh @@ -27,6 +27,7 @@ shift $((${OPTIND} - 1)) platform=$1 case ${platform} in 'baremetal') + USETLS='-V RUMP_CURLWP=__thread' script=buildme.sh ;; 'xen') @@ -57,7 +58,7 @@ esac export RUMPSRC export BUILD_QUIET -( cd platform/${platform} && ./${script} "$@" ) +( cd platform/${platform} && ./${script} ${USETLS} "$@" ) [ $? -eq 0 ] || die Build script \"$script\" failed! ln -sf platform/${platform}/rump . -- 2.39.5