diff options
| author | Christian Göttsche | 2024-05-29 20:38:25 +0200 |
|---|---|---|
| committer | jvoisin | 2024-06-06 16:27:42 +0200 |
| commit | 7b6fba417004fc9f5d17bcec1dd6be63f568ae8d (patch) | |
| tree | 30f69d02c675e038b5792aa11b027f75683d4148 /src | |
| parent | f40955e03cd361966f927acfaa477cfceb8930e5 (diff) | |
Enable some additional compiler warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.m4 b/src/config.m4 index 1c1fd62..37306cc 100644 --- a/src/config.m4 +++ b/src/config.m4 | |||
| @@ -28,6 +28,8 @@ CFLAGS="$CFLAGS" | |||
| 28 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" | 28 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" |
| 29 | CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2" | 29 | CFLAGS="$CFLAGS -Wformat=2 -Wformat-security -D_FORTIFY_SOURCE=2" |
| 30 | CFLAGS="$CFLAGS -fstack-protector-strong" | 30 | CFLAGS="$CFLAGS -fstack-protector-strong" |
| 31 | CFLAGS="$CFLAGS -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith" | ||
| 32 | CFLAGS="$CFLAGS -Wstrict-prototypes -Wunused -Wwrite-strings" | ||
| 31 | 33 | ||
| 32 | LDFLAGS="$LDFLAGS `pcre2-config --libs8`" | 34 | LDFLAGS="$LDFLAGS `pcre2-config --libs8`" |
| 33 | 35 | ||
