| 1 |
From: Andrej Shadura <[email protected]> |
| 2 |
Date: Thu, 7 May 2020 17:20:07 +0200 |
| 3 |
Subject: Link against -lrt -lpthread on GNU/Hurd too |
| 4 |
|
| 5 |
Signed-off-by: Andrej Shadura <[email protected]> |
| 6 |
--- |
| 7 |
Makefile.ckati | 2 +- |
| 8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/Makefile.ckati b/Makefile.ckati |
| 11 |
index e86f15f..68a2ff3 100644 |
| 12 |
--- a/Makefile.ckati |
| 13 |
+++ b/Makefile.ckati |
| 14 |
@@ -74,7 +74,7 @@ KATI_CXXFLAGS += -O -DNOLOG |
| 15 |
KATI_CXXFLAGS += -march=native |
| 16 |
#KATI_CXXFLAGS += -pg |
| 17 |
|
| 18 |
|
| 19 |
+ifneq (,$(filter $(shell (uname)),Linux GNU)) |
| 20 |
KATI_LIBS := -lrt -lpthread |
| 21 |
endif |
| 22 |
|