Module: xenomai-abe
Branch: comedi
Commit: 2d29c076e15c1e0bb2aa1fa83b132da230aeab60
URL:    
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=2d29c076e15c1e0bb2aa1fa83b132da230aeab60

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