On 2016/08/20 14:19, Adam Wolk wrote: > PS. I tried switching to USE_WXNEEDED but it seems to have no effect on cmake.
USE_WXNEEDED does work with cmake, but it's not working with gcc4 because it hardcodes /usr/bin/ld rather than searching the path (and removing the path from --with-ld in the gcc4 port's Makefile results in autoconf failing there). > +CONFIGURE_ENV += LDFLAGS="-Wl,-z,wxneeded" > +# USE_WXNEEDED = Yes Please would you uncomment the USE_WXNEEDED line - even though it doesn't work for gcc4, it's useful for annotation in sqlports. Otherwise ok.