On Tue, 16 Oct 2012, Greg Kroah-Hartman wrote:

> > mymacmini:usbutils xiaofanc$ git diff
> > diff --git a/Makefile.am b/Makefile.am
> > index 4e53e45..e8cb002 100644
> > --- a/Makefile.am
> > +++ b/Makefile.am
> > @@ -1,8 +1,7 @@
> >  SUBDIRS = \
> >         usbhid-dump
> > 
> > -AM_LDFLAGS = \
> > -       -Wl,--as-needed
> 
> You also just dropped -Wl, any reason why?

Somewhat off the point of this thread, but ...

-Wl,--as-needed is a single option, not two options.  -Wl is unusual; 
it tells gcc to pass the following string (i.e., the part following the 
comma) to the linker as a command-line option.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to