aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-01-31 21:19:28 +0100
committerMattias Andrée <m@maandree.se>2025-01-31 21:19:28 +0100
commit9f6e267fe09cbab7f979162731bfbe894d6c8849 (patch)
tree7c5a5037613a608faf4781459ed909ef8ab1370d /config.mk
parentUpdate e-mail (diff)
downloadasroot-1.1.9.tar.gz
asroot-1.1.9.tar.bz2
asroot-1.1.9.tar.xz
Use libenv for environment variable whitelisting1.1.9
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index dafaf0a..a7589a9 100644
--- a/config.mk
+++ b/config.mk
@@ -1,11 +1,11 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CC = cc
+CC = c99
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
-CFLAGS = -std=c99 -Wall -O2
-LDFLAGS = -s -lcrypt
+CFLAGS = -Wall -O2
+LDFLAGS = -s -lcrypt -lenv
# To use libpassphrase, add -DWITH_LIBPASSPHRASE to CPPFLAGS and -lpassphrase to LDFLAGS