summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5b221a9..a6f7b1a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
CC = gcc
-CFLAGS = -Wall -Wextra -std=c11 -fwrapv -fPIC
+CFLAGS = -Wall -Wextra -std=c11 -fwrapv -fPIC -pthread
ifneq ($(DEBUG),)
CFLAGS += -g
else
CFLAGS += -O2
endif
-LDFLAGS = -ldl
+LDFLAGS = -ldl -pthread
BIN = cserver
PLUGINDIR = plugins