From: Antti Kantee Date: Wed, 6 May 2015 09:49:52 +0000 (+0000) Subject: Use RUMP_CURLWP=__thread on baremetal X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=263c4ee3e67b3edfe59e971359eee2a7be93662c;p=people%2Fliuw%2Frumprun.git Use RUMP_CURLWP=__thread on baremetal Hold back on Xen until TLS works in our 32bit guests. --- 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 .