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

@@ -1,7 +1,7 @@
pkgbase = db4.8
pkgdesc = The Berkeley DB embedded database system 4.8
pkgver = 4.8.30
pkgrel = 7
pkgrel = 8
url = http://www.oracle.com/technology/software/products/berkeley-db/index.html
arch = x86_64
arch = i686
@@ -28,4 +28,3 @@ pkgbase = db4.8
sha256sums = fbe47fafa17cd15b3343295c6fc191984e1baa94c1f591dc0b14a96953629437
pkgname = db4.8

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
}