Files
jca e246cc350b Avoid horrid stack scanning code that breaks with clang updates
Fixes endless loop when built with clang-19. Very lightly tested, if you
actually use this port, please confirm that it works for you!
2025-04-22 15:51:09 +00:00

16 lines
403 B
Plaintext

Avoid stack scanning: unportable and undefined behavior, frequently breaks
with compiler updates.
Index: inc/avoffset.mk
--- inc/avoffset.mk.orig
+++ inc/avoffset.mk
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
INSDIR= include/schily/$(OARCH)
TARGET= avoffset.h
TARGETC= avoffset
-CPPOPTS += -DUSE_SCANSTACK
+CPPOPTS += -DNO_SCANSTACK
CPPOPTS += -D__OPRINTF__
CFILES= avoffset.c