From 5ef8d4c32df083b8da0d40ed3cf3e2840245f05b Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 3 Jul 2026 18:15:26 +0200 Subject: 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. --- contrib/dlmalloc/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/dlmalloc/Makefile.am') 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. -- cgit v1.2.3