On Sun, Feb 28, 2021 at 09:41:51AM +0000, Stuart Henderson wrote: > Ports doesn't currently "officially" honour LDFLAGS like it does > CFLAGS/CXXFLAGS. It does seem useful but wants documenting somewhere (and it > seems a bit odd to use it automatically for cmake and not autoconf). > > "This causes cmake to add -pthread to the depends list in stead of > -lpthread." - we haven't used that since moving away from userland threads, > -lpthread is fine.
The thing is, it's much easier to pass stuff like LDFLAGS through CONFIGURE_ENV. Here, you got so many different knobs, it gets to be annoying. Now maybe we should make things more or less default as well.