From 12b88cf3e2e841bd120503d8c340cf910809f5d9 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sun, 29 Dec 2024 09:17:30 +0530 Subject: [PATCH] Fix building pdo_firebird on macOS with clang 15 --- src/scripts/extensions/firebird.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/extensions/firebird.sh b/src/scripts/extensions/firebird.sh index 3c391e95..823b7627 100644 --- a/src/scripts/extensions/firebird.sh +++ b/src/scripts/extensions/firebird.sh @@ -15,6 +15,7 @@ add_firebird_client_darwin() { add_firebird_helper() { firebird_dir=$1 tag="$(php_src_tag)" + export PDO_FIREBIRD_CONFIGURE_PREFIX_OPTS="CFLAGS=-Wno-incompatible-function-pointer-types EXTRA_CFLAGS=-Wno-int-conversion" export PDO_FIREBIRD_CONFIGURE_OPTS="--with-pdo-firebird=$firebird_dir" export PDO_FIREBIRD_LINUX_LIBS="firebird-dev" export PDO_FIREBIRD_PATH="ext/pdo_firebird"