changeset 1101:271eae15163d

The work directory gets blanked each time so it's still not SMP safe, use $STAGE_DIR for the static probe instead.
author Rob Landley <rob@landley.net>
date Sun, 06 Jun 2010 22:51:48 -0500
parents 10606df984d1
children 5c9a877f3f32
files host-tools.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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