depot/third_party/nixpkgs/pkgs/os-specific/linux/kexec-tools/fix-purgatory-llvm-libunwind.patch
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

11 lines
413 B
Diff

--- a/purgatory/Makefile 2024-06-06 23:59:33.089005832 -0700
+++ b/purgatory/Makefile 2024-06-06 23:59:56.761169892 -0700
@@ -62,7 +62,7 @@
$(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\
-Wl,--no-undefined -nostartfiles -nostdlib \
-nodefaultlibs -e purgatory_start -r \
- -Wl,-Map=$(PURGATORY_MAP)
+ -Wl,-Map=$(PURGATORY_MAP) -static
$(PURGATORY): $(PURGATORY_OBJS)
$(MKDIR) -p $(@D)