--std=c99
This commit is contained in:
parent
434dd5d64e
commit
3741e718ab
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ all:
|
|||||||
@which poweroff >/dev/null
|
@which poweroff >/dev/null
|
||||||
@which cryptsetup >/dev/null
|
@which cryptsetup >/dev/null
|
||||||
mkdir -p build obj
|
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
|
ld -x --shared -o build/pam_panic.so obj/pam_panic.o
|
||||||
@printf "Done!\n"
|
@printf "Done!\n"
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user