# HG changeset patch # User Rob Landley # Date 1275882708 18000 # Node ID 271eae15163daef5d3422939cbb8523f992c0b16 # Parent 10606df984d1fef9cde8d7fd2e84f0ba3baf6e05 The work directory gets blanked each time so it's still not SMP safe, use $STAGE_DIR for the static probe instead. diff -r 10606df984d1 -r 271eae15163d host-tools.sh --- a/host-tools.sh Sun Jun 06 12:01:23 2010 -0500 +++ b/host-tools.sh Sun Jun 06 22:51:48 2010 -0500 @@ -66,8 +66,8 @@ if [ "$BUILD_STATIC" != none ] then - $CC "$SOURCES/toys/hello.c" --static -o "$WORK/hello-$$" && - rm "$WORK/hello-$$" + $CC "$SOURCES/toys/hello.c" --static -o "$STAGE_DIR/hello-$$" && + rm "$STAGE_DIR/hello-$$" if [ $? -ne 0 ] then