From 7281ae7db4d9bc9eb2b59134e1dea1231013f1af Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 Jun 2023 19:15:49 +0200 Subject: Use libar2simplified instead of crypt as crypt has a verily limited imput size, and add -h to key2root-addkey, and add key2root-crypt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 38b5163..f9d2bf8 100644 --- a/config.mk +++ b/config.mk @@ -5,6 +5,7 @@ KEYPATH = /etc/key2root CC = cc -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D'KEYPATH="$(KEYPATH)"' -CFLAGS = -std=c99 -Wall -O2 -LDFLAGS = -lcrypt +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D'KEYPATH="$(KEYPATH)"' +CFLAGS = -std=c99 -Wall -O2 +LDFLAGS = +LDFLAGS_CRYPT = $(LDFLAGS) -lar2simplified -lar2 -lblake -pthread -- cgit v1.2.3-70-g09d2