From 7a8d4d0934cb51c8ad7f7af84669bb0197c7b89e Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Fri, 19 Jun 2020 18:03:08 +0200 Subject: Zero incoming passwords in memory using libsodium --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 03ad55b..0ed32b2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ CC = gcc -CFLAGS = -Wall -Wextra -std=c11 -g -fwrapv -D_DEFAULT_SOURCE -LDFLAGS = -lsqlite3 -ldl +CFLAGS = -Wall -Wextra -std=c11 -g -O2 -fwrapv -D_DEFAULT_SOURCE +LDFLAGS = -ldl +CFLAGS += $(shell pkg-config --cflags sqlite3 libsodium) +LDFLAGS += $(shell pkg-config --libs sqlite3 libsodium) TARGETS = tomsg_server -- cgit v1.2.3-70-g09d2