add -lrt on Solaris 10, required for nanosleep#999
Conversation
|
|
||
| include ../Makefile.inc | ||
|
|
||
| ifeq ($(TARGET_OS)$(shell uname -r),SunOS5.10) |
There was a problem hiding this comment.
What's the purpose of listing both TARGET_OS and $(shell uname -r)
since TARGET_OS is already defined as TARGET_OS ?= $(shell uname) ?
edit: ok, so TARGET_OS is the name, while -r is for the version.
Hence, it makes this patch very specific, to SunOS5.10 only.
Any reason why it has to be specific to this version only (as opposed to SunOS in general) ?
There was a problem hiding this comment.
lz4 builds fine on Solaris 11 without it so I thought it was unnecessary to add it to all Solaris versions. I don't have access to any < 10 machines for testing either.
|
I'm a bit torn on this one. |
I propose a solution in the form of a Possibly, such OS-specific configurations could also be transferred to a new directory called |
|
It looks like a good pattern @servusdei2018 . It will require a bit of time to setup properly. Nothing too difficult, but time is scarce. |
To get access to nanosleep on Solaris 10, link against rt is required.