Changed -Werror to -Wall in Makefile and README.md.

This commit is contained in:
Johannes Findeisen 2024-08-28 18:18:57 +02:00
commit e7b7397c93
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
all:
$(CC) -Werror -o checkpw checkpw.c -lpam -lpam_misc
$(CC) -Wall -o checkpw checkpw.c -lpam -lpam_misc
clean:
rm -f ./checkpw

View file

@ -26,7 +26,7 @@ The code only supports verifying passwords for user id 1000 by default. Look a t
Set MAX_UID and MIN_UID in the code or you can compile checkpw without editing the code using the following command and install it manually:
```
gcc -Werror -DMAX_UID=1000 -DMIN_UID=1000 -o checkpw checkpw.c -lpam -lpam_misc
gcc -Wall -DMAX_UID=1000 -DMIN_UID=1000 -o checkpw checkpw.c -lpam -lpam_misc
sudo cp ./checkpw /usr/bin/
```