diff --git a/qubesos_0203-xen.efi.build.patch b/qubesos_0203-xen.efi.build.patch index 76cc3980e8..5f8aa0da03 100644 --- a/qubesos_0203-xen.efi.build.patch +++ b/qubesos_0203-xen.efi.build.patch @@ -18,7 +18,7 @@ index 4f6c086988dd..0efc664bc919 100644 -EFI_LDFLAGS := $(patsubst -m%,-mi386pep,$(LDFLAGS)) --subsystem=10 --enable-long-section-names +#EFI_LDFLAGS := $(patsubst -m%,-mi386pep,$(LDFLAGS)) --subsystem=10 --enable-long-section-names +# use a reduced set of options from LDFLAGS -+EFI_LDFLAGS = --as-needed --build-id=sha1 -mi386pep --subsystem=10 --enable-long-section-names ++EFI_LDFLAGS = --as-needed --build-id=sha1 -mi386pep --subsystem=10 --enable-long-section-names --file-alignment=0x20 LD_PE_check_cmd = $(call ld-option,$(EFI_LDFLAGS) --image-base=0x100000000 -o $(efi-check).efi $(efi-check).o) XEN_BUILD_PE := $(LD_PE_check_cmd)