aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/dlmalloc/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-07-03 18:15:26 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-07-03 18:15:26 +0200
commit5ef8d4c32df083b8da0d40ed3cf3e2840245f05b (patch)
tree72c0526098ba0e94747213d246415af22bf7f862 /contrib/dlmalloc/Makefile.am
parent49587788101dce76111a8b16dfed0889c26b0e61 (diff)
terex, dlmalloc and rb3ptr are now built with `-Wall`
dlmalloc had one bogus unused variable warning, so we also added `-Wno-unused-but-set-variable`. We don't want to change upstream sources unless absolutely necessary.
Diffstat (limited to 'contrib/dlmalloc/Makefile.am')
-rw-r--r--contrib/dlmalloc/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/dlmalloc/Makefile.am b/contrib/dlmalloc/Makefile.am
index 73232d7..0030f84 100644
--- a/contrib/dlmalloc/Makefile.am
+++ b/contrib/dlmalloc/Makefile.am
@@ -8,6 +8,7 @@
# for increased portability. There is also AC_LIBOBJ, but it's usually for defining sources of
# replacement libraries.
+AM_CFLAGS = -Wall -Wno-unused-but-set-variable
AM_CPPFLAGS = @DLMALLOC_CPPFLAGS@ -DNO_MALLINFO=1 -DNO_MALLOC_STATS=1 -DUSE_LOCKS=1 -DUSE_DL_PREFIX
# FIXME: This optimization is still broken as of GCC v9.3.0.