update to 12.4-systemd: libffi-3.5.2

This commit is contained in:
2025-12-21 21:47:49 -05:00
parent a63f06f123
commit 46145fe3a9

View File

@@ -1,17 +1,18 @@
pkgname=libffi pkgname=libffi
pkgver=3.4.7 pkgver=3.5.2
pkgdesc='Portable foreign function interface library' pkgdesc='Portable foreign function interface library'
homepage='https://sourceware.org/libffi/' homepage='https://sourceware.org/libffi/'
license=(MIT) license=(MIT)
sources=("${pkgname}-${pkgver}.tar.gz") sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/libffi/libffi/releases/download/v${pkgver}/${sources[0]}") urls=("https://github.com/libffi/libffi/releases/download/v${pkgver}/${sources[0]}")
md5sums=("696a1d483a1174ce8a477575546a5284") md5sums=("92af9efad4ba398995abf44835c5d9e9")
src_prepare() { src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1 tar -xf ${distdir}/${sources[0]} --strip-components=1
} }
src_build() { src_build() {
CFLAGS+=" -march=native"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-static \ --disable-static \
--with-gcc-arch=native --with-gcc-arch=native