aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2023-11-20 16:29:36 -0600
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2023-11-20 16:29:36 -0600
commitde259f866554bf8ea815b028af564155a2eee2b5 (patch)
tree7b0992d63b3bcb5794382a341b4cf09e2ef24bc5 /makefile
parentd028778c1c132cf6691837ef5076f4dd5b5c5c82 (diff)
downloadwg2nd-de259f866554bf8ea815b028af564155a2eee2b5.tar.xz
wg2nd-de259f866554bf8ea815b028af564155a2eee2b5.zip
Drop capabilities by default and retain required capabilities upfront
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index eb34c1b..5eaa730 100644
--- a/makefile
+++ b/makefile
@@ -12,6 +12,7 @@ CC = gcc
CFLAGS = -Wall -Wextra -Werror -Wno-unused-function
CFLAGS += -Isrc
+CFLAGS += -DHAVE_LIBCAP
# Compiler flags
CXXFLAGS = $(CFLAGS)
@@ -25,7 +26,7 @@ RELEASE_LDFLAGS = -lrt
DEBUGFLAGS = -ggdb -O0 -fsanitize=address -fno-omit-frame-pointer
# Linking flags
-LDFLAGS =
+LDFLAGS = -lcap
C_OBJECTS := src/crypto/encoding.o
C_OBJECTS += src/crypto/curve25519.o