On 14/07/14 10:57, Ian Jackson wrote:
> Actually, I have just looked at the FM and this
>
>         case "$a" in
>    -    [^-]*|-L*|-l*|--whole-archive|--no-whole-archive)
>    +    [^-]*|-L*|-l*|-z|--whole-archive|--no-whole-archive)
>                 outargs+=("$a")
>
> seems wrong.  The FM says that -z takes a keyword argument.
>
> I think you need something like:
>
>         -z)
>                 outargs+=("$a" "$1"); shift || noshift
>                 ;;
>
> (untested).
>
> In practice this won't make any difference unless ld grows a -z
> keyword starting with a hyphen, but I think it is better to do the
> parsing/unparsing correctly.

Ok, makes sense.  Merged and fixed and pushed.

Now we just hope nobody wants to link lib-foo.a with -l -foo ;)

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck®
Code Sight™ - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to