[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xenpaging: correct order of linker options to avoid link errors with recent toolchains



Olaf Hering writes ("[Xen-devel] [PATCH] xenpaging: correct order of linker 
options to avoid link errors with recent toolchains"):
> Fix link error in openSuSE 11.2. 
> The order of objects and linked libraries is important with recent toolchain
> when --as-needed is used.

>  xenpaging: $(OBJS)
> -     $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
> +     $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

Thanks, but once again, LDFLAGS belongs at the beginning and what's
needed is to introduce a *_LIBS variable.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.