mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-06-24 00:01:05 +00:00
19c65dbec5
syslinux 3.86: add GCC 10+ -fcommon, GCC 15 -Wno-error flags, glibc sysmacros.h include, vpd.c pointer fix, python2 menugen skip. elilo-xcat: three patches for GCC 15 (bool keyword, StrnCpy conflict with gnu-efi 4.0) and binutils 2.46 (objcopy efi-app format removed). Bump debhelper compat 5→10, fix changelog maintainer emails. grub2-xcat: bump DH_COMPAT 5→8, add make_deb.sh.
26 lines
960 B
Diff
26 lines
960 B
Diff
diff -ruN elilo.orig/Make.rules elilo/Make.rules
|
|
--- elilo.orig/Make.rules 2007-07-20 19:47:25.000000000 +0000
|
|
+++ elilo/Make.rules 2026-05-19 14:52:32.458614655 +0000
|
|
@@ -25,7 +25,7 @@
|
|
|
|
%.efi: %.so
|
|
$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
|
|
- -j .rela -j .reloc --target=$(FORMAT) $*.so $@
|
|
+ -j .rela -j .reloc -I elf64-$(OBJCOPY_ARCH) -O $(FORMAT) --subsystem=efi-app $*.so $@
|
|
|
|
%.so: %.o
|
|
$(LD) $(LDFLAGS) $^ -o $@ $(LOADLIBES)
|
|
diff -ruN elilo.orig/Makefile elilo/Makefile
|
|
--- elilo.orig/Makefile 2010-11-09 23:16:50.000000000 +0000
|
|
+++ elilo/Makefile 2026-05-19 14:52:19.617943296 +0000
|
|
@@ -34,7 +34,8 @@
|
|
|
|
LDFLAGS += -T $(LDSCRIPT) -shared -Bsymbolic -L$(EFILIB) -L$(GNUEFILIB) $(CRTOBJS)
|
|
LOADLIBES = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)
|
|
-FORMAT = efi-app-$(ARCH)
|
|
+OBJCOPY_ARCH = $(shell echo $(ARCH) | sed s,_,-,g)
|
|
+FORMAT = pei-$(OBJCOPY_ARCH)
|
|
|
|
FILESYSTEM =
|
|
|