Compare commits

...

1 Commits

Author SHA1 Message Date
Dimitri Kaparis 77316cc6ac Release 1.4-2 - gcc workaround for build issue 2022-06-06 13:36:49 +03:00
3 changed files with 22 additions and 5 deletions

View File

@ -1,7 +1,7 @@
pkgbase = linux-libre-firmware
pkgdesc = Firmware files for Linux-libre
pkgver = 1.4
pkgrel = 1
pkgrel = 2
url = https://jxself.org/firmware
arch = any
license = GPL2
@ -16,9 +16,10 @@ pkgbase = linux-libre-firmware
options = !buildflags
source = https://jxself.org/firmware/linux-libre-firmware-1.4.tar.lz
source = https://jxself.org/firmware/linux-libre-firmware-1.4.tar.lz.asc
source = min-pagesize-gcc-fix.patch
validpgpkeys = F611A908FFA165C699584ED49D0DB31B545A3198
sha512sums = 3b4c8afb63c55f05df0b2686459c6bb2c0cb56db8384d5527506ff4a14b8de80e1a3037a9b57cccccd6953d869c6a71a6500c4c7b735253ea0b57c79854d9457
sha512sums = SKIP
sha512sums = 0561c3afd0e9d08d6f9a1e3ecb479695d14fff8c850c29d9955f318d8ad870ed5a0792371a3ea0e3dc48ccf5619771cb6155e0531826088ed4c5cecd2912200d
pkgname = linux-libre-firmware

View File

@ -5,7 +5,7 @@
pkgname=linux-libre-firmware
pkgver=1.4
pkgrel=1
pkgrel=2
pkgdesc='Firmware files for Linux-libre'
arch=('any')
url='https://jxself.org/firmware'
@ -16,9 +16,11 @@ provides=('linux-firmware')
conflicts=('linux-firmware'
'linux-firmware-git')
source=("https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz"
"https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz.asc")
"https://jxself.org/firmware/${pkgname}-${pkgver}.tar.lz.asc"
min-pagesize-gcc-fix.patch)
sha512sums=('3b4c8afb63c55f05df0b2686459c6bb2c0cb56db8384d5527506ff4a14b8de80e1a3037a9b57cccccd6953d869c6a71a6500c4c7b735253ea0b57c79854d9457'
'SKIP')
'SKIP'
'0561c3afd0e9d08d6f9a1e3ecb479695d14fff8c850c29d9955f318d8ad870ed5a0792371a3ea0e3dc48ccf5619771cb6155e0531826088ed4c5cecd2912200d')
validpgpkeys=('F611A908FFA165C699584ED49D0DB31B545A3198')
prepare() {
@ -28,6 +30,8 @@ prepare() {
ln -sf /usr/bin/arm-none-eabi-ld bin/arm-linux-gnueabi-ld
ln -sf /usr/bin/arm-none-eabi-objcopy bin/arm-linux-gnueabi-objcopy
export PATH=$PATH:$(pwd)/bin
# workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
patch -p0 -d "${pkgname}-${pkgver}" < min-pagesize-gcc-fix.patch
}
build() {

View File

@ -0,0 +1,12 @@
--- src/atusb/Makefile.orig 2022-06-05 12:35:35.311488332 +0300
+++ src/atusb/Makefile 2022-06-05 12:36:01.330982324 +0300
@@ -19,6 +19,9 @@
-Wall -Wextra -Wshadow -Werror -Wno-unused-parameter \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
+CFLAGS += --param=min-pagesize=0
+
ifeq ($(DEBUG),true)
CFLAGS += -DDEBUG
endif