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 + contrib/rb3ptr/Makefile.am | 1 + contrib/terex | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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. diff --git a/contrib/rb3ptr/Makefile.am b/contrib/rb3ptr/Makefile.am index fc660e7..e415d84 100644 --- a/contrib/rb3ptr/Makefile.am +++ b/contrib/rb3ptr/Makefile.am @@ -1,5 +1,6 @@ # Source: http://jstimpfle.de/projects/rb3ptr/rb3ptr.html # https://github.com/jstimpfle/rb3ptr +AM_CFLAGS = -Wall AM_CPPFLAGS = -I. noinst_LTLIBRARIES = librb3ptr.la diff --git a/contrib/terex b/contrib/terex index d71d752..dfdd292 160000 --- a/contrib/terex +++ b/contrib/terex @@ -1 +1 @@ -Subproject commit d71d7527a8be8654560867d761036598408bfe14 +Subproject commit dfdd292ea7163e60ecdb27ef4e76d85e355c97a4 -- cgit v1.2.3