On Mon, Mar 16, 2015 at 09:42:50PM -0700, Eric Pruitt wrote: > Is there a reason -lrt is missing from config.mk in sbase? I recall > seeing some messages saying that OpenBSD lacks -lrt support (or > something to that effect), but since its a POSIX library and is required > to compile find, it seems like it should be present by default. > Searching the list for "-lrt", I see Roberto submitted a patch on > February 20th; why wasn't it applied?
Just update config.mk for your system. This is the primary purpose of having config.mk in the first place. It wasn't applied because it makes me having to remember to remove -lrt on all of my OpenBSD systems that I am working on. That's why I added a commented out -lrt in config.mk, to remind people that they may need it. On a similar note, NetBSD needs some stupid feature test macros in order to expose various declarations/defines to the application. I have not enabled those by default either. The end result is the same though, it doesn't build by default.