Added CFLAGS=-Wno-error=implicit-function-declaration to fix errors

configure: WARNING: NO SHARED LATCH IMPLEMENTATION FOUND FOR THIS PLATFORM.
configure: error: Unable to find a mutex implementation
This commit is contained in:
Luis Aranguren
2024-06-16 21:37:24 +10:00
parent 66861ad9e3
commit 8d64715854
2 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
# Contributor: Leslie P. Polzer <polzer@gnu.org>
pkgname=db4.8
pkgver=4.8.30
pkgrel=7
pkgrel=8
pkgdesc="The Berkeley DB embedded database system 4.8"
arch=('x86_64' 'i686' 'pentium4' 'arm' 'armv6h' 'armv7h' 'aarch64')
license=('custom')
@@ -38,7 +38,7 @@ build() {
cd "$srcdir/db-$pkgver/"
cd "build_unix"
../dist/configure --prefix=/usr --enable-compat185 --enable-shared --disable-static --enable-cxx
CFLAGS=-Wno-error=implicit-function-declaration ../dist/configure --prefix=/usr --enable-compat185 --enable-shared --disable-static --enable-cxx
make LIBSO_LIBS=-lpthread || return 1
}