mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gnu-efi-libs: update to 3.0.17.
This commit is contained in:
parent
20424809ba
commit
562f9f544f
2 changed files with 12 additions and 13 deletions
|
@ -1,20 +1,16 @@
|
||||||
Source: Alpine Linux (adapted)
|
|
||||||
Upstream: No
|
|
||||||
Reason: Fixes compilation on i686
|
|
||||||
|
|
||||||
--- a/Make.defaults
|
--- a/Make.defaults
|
||||||
+++ b/Make.defaults
|
+++ b/Make.defaults
|
||||||
@@ -156,11 +156,11 @@ ifneq (mingw32,$(findstring mingw32, $(GCCMACHINE)))
|
@@ -183,11 +183,11 @@ ifneq (mingw32,$(findstring mingw32, $(GCCMACHINE)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (FreeBSD, $(findstring FreeBSD, $(OS)))
|
ifeq (FreeBSD, $(findstring FreeBSD, $(OS)))
|
||||||
-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
|
-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
|
||||||
+CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \
|
+CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \
|
||||||
-fshort-wchar -fno-strict-aliasing \
|
-funsigned-char -fshort-wchar -fno-strict-aliasing \
|
||||||
-ffreestanding -fno-stack-protector
|
-ffreestanding -fno-stack-protector
|
||||||
else
|
else
|
||||||
-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
|
-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror \
|
||||||
+CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \
|
+CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Wno-pointer-sign \
|
||||||
-fshort-wchar -fno-strict-aliasing \
|
-funsigned-char -fshort-wchar -fno-strict-aliasing \
|
||||||
-fno-merge-all-constants -ffreestanding -fno-stack-protector \
|
-ffreestanding -fno-stack-protector -fno-stack-check \
|
||||||
-fno-stack-check
|
-fno-stack-check \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gnu-efi-libs'
|
# Template file for 'gnu-efi-libs'
|
||||||
pkgname=gnu-efi-libs
|
pkgname=gnu-efi-libs
|
||||||
reverts="3.0w_1" # Not an actual revert, xbps considers 3.0w higher than 3.0.8
|
reverts="3.0w_1" # Not an actual revert, xbps considers 3.0w higher than 3.0.8
|
||||||
version=3.0.14
|
version=3.0.17
|
||||||
revision=1
|
revision=1
|
||||||
makedepends="pciutils-devel"
|
makedepends="pciutils-devel"
|
||||||
short_desc="Library for building UEFI Applications using GNU toolchain"
|
short_desc="Library for building UEFI Applications using GNU toolchain"
|
||||||
|
@ -9,7 +9,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://sourceforge.net/projects/gnu-efi/"
|
homepage="https://sourceforge.net/projects/gnu-efi/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/gnu-efi/gnu-efi-${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/gnu-efi/gnu-efi-${version}.tar.bz2"
|
||||||
checksum=b73b643a0d5697d1f396d7431448e886dd805668789578e3e1a28277c9528435
|
checksum=7807e903349343a7a142ebb934703a2872235e89688cf586c032b0a1087bcaf4
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
|
|
||||||
# If we are cross-building we need to pass the cross-compilation triplet
|
# If we are cross-building we need to pass the cross-compilation triplet
|
||||||
|
@ -41,6 +41,9 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
# upstream provides LDFLAGS directly to ld: https://sourceforge.net/p/gnu-efi/bugs/33/
|
||||||
|
LDFLAGS="${LDFLAGS//-Wl/}"
|
||||||
|
LDFLAGS="${LDFLAGS//,/ }"
|
||||||
make ARCH=${TARGET_ARCH} HOSTARCH=${HOST_ARCH}
|
make ARCH=${TARGET_ARCH} HOSTARCH=${HOST_ARCH}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue