From de259f866554bf8ea815b028af564155a2eee2b5 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Mon, 20 Nov 2023 16:29:36 -0600 Subject: Drop capabilities by default and retain required capabilities upfront --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'makefile') 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 -- cgit v1.2.3