diff options
author | Yann Collet <cyan@fb.com> | 2021-08-16 23:43:17 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2021-08-16 23:43:17 (GMT) |
commit | 596c7472116a9204c5a32cc3d9e588fa8a4b6feb (patch) | |
tree | 803f4bcc089a4e05979a2bbc2618278c4ad7795d /programs | |
parent | e78eeec86e696f318a0ad1e71d6ad50555d1c0a9 (diff) | |
download | lz4-596c7472116a9204c5a32cc3d9e588fa8a4b6feb.zip lz4-596c7472116a9204c5a32cc3d9e588fa8a4b6feb.tar.gz lz4-596c7472116a9204c5a32cc3d9e588fa8a4b6feb.tar.bz2 |
make UNAME externally definable
on top of providing a central definition place, which eases maintenance,
it might also help for #1021.
Also : updated doc
Diffstat (limited to 'programs')
-rw-r--r-- | programs/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/Makefile b/programs/Makefile index 811ab72..ace0d03 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -55,7 +55,8 @@ CFLAGS += $(DEBUGFLAGS) $(MOREFLAGS) include ../Makefile.inc -ifeq ($(TARGET_OS)$(shell uname -r),SunOS5.10) +OS_VERSION ?= $(UNAME) -r +ifeq ($(TARGET_OS)$(shell $(OS_VERSION)),SunOS5.10) LDFLAGS += -lrt endif |