Module: xenomai-2.4
Branch: master
Commit: 8e46e88f80eb8ff52f4af020e3b44b437df234e2
URL:    
http://git.xenomai.org/?p=xenomai-2.4.git;a=commit;h=8e46e88f80eb8ff52f4af020e3b44b437df234e2

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Sep 21 12:07:43 2009 +0200

scripts: allow concurrent invocations of wrap-link.sh

---

 scripts/wrap-link.sh |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/scripts/wrap-link.sh b/scripts/wrap-link.sh
index 3d5aaca..0d53c7b 100755
--- a/scripts/wrap-link.sh
+++ b/scripts/wrap-link.sh
@@ -169,6 +169,7 @@ while test $# -gt 0; do
 done
 
 $verbose && set -x
-$cc -o "$output.tmp" -Wl,-Ur -nostdlib $stage1_args
-$cc -o "$output" "$output.tmp" $stage2_args
-rm -f $output.tmp
+tmpobj="$output.wl$$"
+$cc -o "$tmpobj" -Wl,-Ur -nostdlib $stage1_args
+$cc -o "$output" "$tmpobj" $stage2_args
+rm -f $tmpobj


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to