aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-11 11:33:38 +0000
committerOmar Polo <op@omarpolo.com>2023-06-11 11:33:38 +0000
commit1ef09e6313e6a7656899f1ce5a98bddb16498934 (patch)
tree74192b19ff3b8622ec1a048ec87a2ad3d208e4b0 /configure
parentb8d68fc8e49b3eeac2ba3106e9694ef463a646e1 (diff)
add -Wpointer-sign to the mix
It's not present in -W -Wall -Wextra on OpenBSD but it is enabled on other systems.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f7f4268..9ae50d4 100755
--- a/configure
+++ b/configure
@@ -42,7 +42,7 @@ if [ -z "${CFLAGS}" ]; then
fi
CFLAGS="${CFLAGS} -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes"
-CFLAGS="${CFLAGS} -Wwrite-strings -Wno-unused-parameter"
+CFLAGS="${CFLAGS} -Wwrite-strings -Wpointer-sign -Wno-unused-parameter"
CFLAGS="${CFLAGS} -Wno-missing-field-initializers"
if [ -z "${LDFLAGS}" ]; then