On 2014-03-14 13:29, Paolo Bonzini wrote:
> Il 13/03/2014 19:48, Peter Maydell ha scritto:
>> Yep, here we are:
>> LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names
>> -arch x86_64
>> CURL_LIBS=-L/opt/local/lib -lcurl
>>
>> rules.mak is incorrectly reordering the contents of
>> these and generating a non-working mess.
> 
> Fam,
> 
> is the $(sort) actually necessary in extract-libs?  It is required in
> expand-objs, but duplicate -l options should be harmless.

The current master still contains this bug and sorts "-arch x86_64"
separately. I doubt the $(sort) does anything useful.

For the distribution of QEMU in MacPorts I removed the $(sort) from
extract-libs in a local patch in order to be able to build some variants
[1].

Rainer

[1]
https://trac.macports.org/browser/trunk/dports/emulators/qemu/files/patch-link-sort.diff?rev=120672


Reply via email to