From 3741e718abbaacbdd90d20d5f55650ccbd40e2e5 Mon Sep 17 00:00:00 2001 From: Bandie Date: Thu, 29 Mar 2018 04:51:31 +0200 Subject: [PATCH] --std=c99 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99c882e..d022586 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ all: @which poweroff >/dev/null @which cryptsetup >/dev/null mkdir -p build obj - gcc -fPIC -DPOWEROFF=\"`which poweroff`\" -DREBOOT=\"`which reboot`\" -DCRYPTSETUP=\"`which cryptsetup`\" -c src/pam_panic.c -o obj/pam_panic.o + gcc -fPIC --std=c99 -DPOWEROFF=\"`which poweroff`\" -DREBOOT=\"`which reboot`\" -DCRYPTSETUP=\"`which cryptsetup`\" -c src/pam_panic.c -o obj/pam_panic.o ld -x --shared -o build/pam_panic.so obj/pam_panic.o @printf "Done!\n" clean: