diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-13 19:22:05 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-13 19:22:05 +0200 |
commit | 641aff5f571bc7da31e42a0ab32713749ff60c86 (patch) | |
tree | 17d8a9d375bdc10dfebcce0c95a5885129a7b9d7 | |
parent | 809fd4ab7479a05261aa0a93f8cc7066bfef243d (diff) | |
download | xK-641aff5f571bc7da31e42a0ab32713749ff60c86.tar.gz xK-641aff5f571bc7da31e42a0ab32713749ff60c86.tar.xz xK-641aff5f571bc7da31e42a0ab32713749ff60c86.zip |
Link with -lrt
The newer glibc isn't that common yet.
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,7 +5,8 @@ CC = clang CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-function \ -ggdb -fsanitize=address,undefined # -lpthread is only there for debugging (gdb & errno) -LDFLAGS = `pkg-config --libs libssl` -lpthread +# -lrt is only for glibc < 2.17 +LDFLAGS = `pkg-config --libs libssl` -lpthread -lrt .PHONY: all clean .SUFFIXES: |