aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-09-05 13:23:58 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-09-05 13:23:58 +0200
commit86b5b5c6aa8c3eb4b14472e3ad842e07bd6eda36 (patch)
tree5170af9c5c0874f52c91ae3c3066610134879889
parentfb8674ef104a117dd33e7f2365a06e75c3016e82 (diff)
downloadmblaze-86b5b5c6aa8c3eb4b14472e3ad842e07bd6eda36.tar.gz
Makefile: add -lrt for oldish glibc (e.g. 2.13) to find clock_gettime
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ea3f868..f1ce3c3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
CFLAGS+=-g -O2 -Wall -Wno-switch -Wextra -fstack-protector-strong -D_FORTIFY_SOURCE=2
+LDLIBS=-lrt
DESTDIR=
PREFIX=/usr/local