summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2016-09-06 14:37:27 -0400
committerPeter Jones <pjones@redhat.com>2016-09-06 14:44:50 -0400
commit467878f3e023d649748cf8a64a4b53a0b0cd79bc (patch)
treea815e2061122cc8b43608eda472bbc5d5dc54b61 /Makefile
parent47f3a65eda2f864ea3a60aeb127cfec7bff64389 (diff)
downloadefi-boot-shim-467878f3e023d649748cf8a64a4b53a0b0cd79bc.tar.gz
efi-boot-shim-467878f3e023d649748cf8a64a4b53a0b0cd79bc.zip
read_header/handle_image: treat uninitialized file alignment as PAGE_SIZE
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fdad16a1..5a5fdb10 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ ifeq ($(ARCH),x86_64)
-maccumulate-outgoing-args \
-DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI \
-DNO_BUILTIN_VA_FUNCS \
- "-DEFI_ARCH=L\"x64\"" \
+ "-DEFI_ARCH=L\"x64\"" -DPAGE_SIZE=4096 \
"-DDEBUGDIR=L\"/usr/lib/debug/usr/share/shim/x64-$(VERSION)$(RELEASE)/\""
MMNAME = mmx64
FBNAME = fbx64
@@ -55,7 +55,7 @@ endif
ifeq ($(ARCH),ia32)
CFLAGS += -mno-mmx -mno-sse -mno-red-zone -nostdinc \
-maccumulate-outgoing-args -m32 \
- "-DEFI_ARCH=L\"ia32\"" \
+ "-DEFI_ARCH=L\"ia32\"" -DPAGE_SIZE=4096 \
"-DDEBUGDIR=L\"/usr/lib/debug/usr/share/shim/ia32-$(VERSION)$(RELEASE)/\""
MMNAME = mmia32
FBNAME = fbia32
@@ -64,7 +64,7 @@ ifeq ($(ARCH),ia32)
LIB_PATH:=/usr/lib
endif
ifeq ($(ARCH),aarch64)
- CFLAGS += "-DEFI_ARCH=L\"aa64\"" \
+ CFLAGS += "-DEFI_ARCH=L\"aa64\"" -DPAGE_SIZE=4096 \
"-DDEBUGDIR=L\"/usr/lib/debug/usr/share/shim/aa64-$(VERSION)$(RELEASE)/\""
MMNAME = mmaa64
FBNAME = fbaa64