1 --- a/purgatory/Makefile 2024-06-06 23:59:33.089005832 -0700
2 +++ b/purgatory/Makefile 2024-06-06 23:59:56.761169892 -0700
4 $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\
5 -Wl,--no-undefined -nostartfiles -nostdlib \
6 -nodefaultlibs -e purgatory_start -r \
7 - -Wl,-Map=$(PURGATORY_MAP)
8 + -Wl,-Map=$(PURGATORY_MAP) -static
10 $(PURGATORY): $(PURGATORY_OBJS)