summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2014-09-01 09:10:05 -0500
committerBobby Bingham <koorogi@koorogi.info>2014-09-01 09:10:05 -0500
commit550130b71aa55fbdf34f387e7904e239f6dddb10 (patch)
treebef8458d031853a66662022b384d12c0e5f98a87
parentaccb087bbf10d00307016b757c883ed8de69146c (diff)
Add -lrt to build
This is required on glibc versions before 2.17.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a454294..8cf35ad 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
COMMONFLAGS = -Os -pipe -D_XOPEN_SOURCE=500
CFLAGS = -std=c99
CXXFLAGS = -std=c++11
-LIBS = -lm
+LIBS = -lm -lrt
SRCS_C = $(sort $(wildcard *.c))
SRCS_CC = $(sort $(wildcard *.cc))