]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
Use RUMP_CURLWP=__thread on baremetal
authorAntti Kantee <pooka@iki.fi>
Wed, 6 May 2015 09:49:52 +0000 (09:49 +0000)
committerAntti Kantee <pooka@iki.fi>
Wed, 6 May 2015 09:49:52 +0000 (09:49 +0000)
Hold back on Xen until TLS works in our 32bit guests.

build-rr.sh

index aa59e069e5ffe9e9ee827453bf554f84827b5b8f..2438d21b784e8f7c13e1472c35272c967fb2b97c 100755 (executable)
@@ -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 .