Hi,

In mingw-libmng I do a autoreconf -if before %mingw_configure (to regenerate the Makefiles with -no-undefined), but then the build fails because of

/usr/lib/gcc/i686-w64-mingw32/5.0.0/../../../../i686-w64-mingw32/bin/ld: unrecognized option '-z' /usr/lib/gcc/i686-w64-mingw32/5.0.0/../../../../i686-w64-mingw32/bin/ld: use the --help option for usage information

I traced the source of the issue to the libtool script copied by autoreconf which now includes

compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"

which is responsible for adding -z. I am unsure however how to properly fix the issue, short of sed-ing out the -specs=/usr/lib/rpm/redhat/redhat-hardened-ld from the libtool script...

Any ideas?

Thanks,
Sandro

_______________________________________________
mingw mailing list
mingw@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/mingw

Reply via email to