<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/0e74f3da2c9b40f2df9d3ca314bbc0bc91eb3a75">https://github.com/macports/macports-legacy-support/commit/0e74f3da2c9b40f2df9d3ca314bbc0bc91eb3a75</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0e74f3da2c9b40f2df9d3ca314bbc0bc91eb3a75
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Sat Feb 15 00:30:24 2025 -0800
<span style='display:block; white-space:pre;color:#404040;'> Makefile: Add -Wundef to all builds.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This (primarily for header/tests) catches references to undefined
</span><span style='display:block; white-space:pre;color:#404040;'> macros, just in case a client enables those warnings.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> TESTED:
</span><span style='display:block; white-space:pre;color:#404040;'> Causes undef warnings without the fixes, and no warnings with the
</span><span style='display:block; white-space:pre;color:#404040;'> fixes.
</span>---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8d61047..0270c63 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,7 +64,7 @@ POSTINSTALL ?= /usr/bin/install_name_tool
</span> ARCHFLAGS ?=
DEBUG ?=
OPT ?= -Os
<span style='display:block; white-space:pre;background:#ffe0e0;'>-XCFLAGS ?= $(DEBUG) $(OPT) -Wall -Wno-deprecated-declarations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+XCFLAGS ?= $(DEBUG) $(OPT) -Wall -Wno-deprecated-declarations -Wundef
</span> ALLCFLAGS := $(ARCHFLAGS) $(XCFLAGS) $(CFLAGS)
DLIBCFLAGS ?= -fPIC
SLIBCFLAGS ?=
</pre><pre style='margin:0'>
</pre>