[packages/gnu-efi] - changed way to pass -m64 on x32 to cover also assembly files; release 2
qboosh
qboosh at pld-linux.org
Thu Jun 8 21:53:07 CEST 2017
commit 9acb055cc4e5107922095afcdcd2d4fab9dc3c73
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 8 21:54:14 2017 +0200
- changed way to pass -m64 on x32 to cover also assembly files; release 2
gnu-efi.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gnu-efi.spec b/gnu-efi.spec
index 33b8f65..8661651 100644
--- a/gnu-efi.spec
+++ b/gnu-efi.spec
@@ -3,7 +3,7 @@ Summary(pl.UTF-8): GNU-EFI - tworzenie aplikacji EFI przy użyciu narzędzi GNU
Name: gnu-efi
# NOTE: don't use early 3.1, it doesn't support EFI x86_64
Version: 3.0.5
-Release: 1
+Release: 2
Epoch: 1
# Intel and HP's BSD-like license, except setjmp code coming from GRUB
License: BSD-like
@@ -36,13 +36,13 @@ ARCHFLAGS=
%ifarch ia64
ARCHFLAGS=-frename-registers
%endif
-%ifarch x32
-# use x86_64 EFI ABI
-ARCHFLAGS=-m64
-%endif
+# on x32: use x86_64 EFI ABI
CFLAGS="%{rpmcflags} $ARCHFLAGS" \
%{__make} -j1 \
ARCH=%{efi_arch} \
+%ifarch x32
+ ARCH3264=-m64 \
+%endif
CC="%{__cc}" \
OBJCOPY=objcopy
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnu-efi.git/commitdiff/9acb055cc4e5107922095afcdcd2d4fab9dc3c73
More information about the pld-cvs-commit
mailing list