[Bug 951472] Use of wrong LDFLAGS

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 12 11:07:26 UTC 2013


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=951472

--- Comment #4 from Nicola Fontana <ntd at entidi.it> ---
That shed some light on the problem. There are a bunch of variables overriden
just before calling configure (most notably CC, CFLAGS, CPPFLAGS, CXX, CXXFLAGS
and LDFLAGS). Here is the relevant reference to LDFLAGS in mingw32:

http://pkgs.fedoraproject.org/cgit/mingw-filesystem.git/tree/macros.mingw32?id=4c049af9fb77a2b34c15f0c19b954c3f7e90802e#n79

This means every setting of the above vars in the spec file is just ignored.

MINGW32_LDFLAGS and MINGW64_LDFLAGS can be used instead, but given this package
has been always built with LDFLAGS unset I think the best approach it is to
just drop it, as suggested.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=CLQhjc0lxV&a=cc_unsubscribe


More information about the mingw mailing list