Module: xenomai-rpm Branch: for-upstream Commit: c617e84b9bcc9864bdd2c943bc88082653aae393 URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=c617e84b9bcc9864bdd2c943bc88082653aae393
Author: Philippe Gerum <r...@xenomai.org> Date: Sun Feb 21 11:37:13 2010 +0100 wrap-link.sh: force object files to stage1 Force object files listed after libpthread_rt to stage1, so that no files are missed for the partial link. This should be better than getting an obscure "no input files" message from collect2. --- scripts/wrap-link.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/scripts/wrap-link.sh b/scripts/wrap-link.sh index f4826ac..8038d4f 100755 --- a/scripts/wrap-link.sh +++ b/scripts/wrap-link.sh @@ -158,6 +158,11 @@ while test $# -gt 0; do stage2_args="$stage2_args $arg" ;; + *.o) + # Force .o to stage1 regardless of its position + stage1_args="$stage1_args $arg" + ;; + *) if test -e "$arg"; then add_linker_obj $arg _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git