Module: xenomai-forge
Branch: next
Commit: 1d69df4379ddd47ec2d00e65bdd73d80c60bca41
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=1d69df4379ddd47ec2d00e65bdd73d80c60bca41

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Apr 11 16:24:52 2013 +0200

scripts/wrap-link.sh: make sure POSIX wrappers spec belong to stage 1

---

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

diff --git a/scripts/wrap-link.sh b/scripts/wrap-link.sh
index 51bff15..442c9e7 100755
--- a/scripts/wrap-link.sh
+++ b/scripts/wrap-link.sh
@@ -116,11 +116,6 @@ while test $# -gt 0; do
     arg="$1"
     shift
     case "$arg" in
-       *cobalt*)
-           stage2_args="$stage2_args $arg"
-           stage2=:
-           ;;
-
        -Xlinker)
            arg="$1"
            shift
@@ -150,6 +145,13 @@ while test $# -gt 0; do
            add_linker_flag "$arg"
            ;;
 
+       *cobalt*)
+           # linker directives might contain this pattern as well, so
+           # match it later in the test sequence.
+           stage2_args="$stage2_args $arg"
+           stage2=:
+           ;;
+
        -o)
            output="$1"
            shift


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to