Skip to content

Commit

Permalink
TEST: qubesos_0203-xen.efi.build.patch: reduce file alignment
Browse files Browse the repository at this point in the history
Signed-off-by: Krystian Hebel <[email protected]>
  • Loading branch information
krystian-hebel committed Nov 6, 2024
1 parent fa92832 commit 4c1075e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesos_0203-xen.efi.build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4c1075e

Please sign in to comment.