Fix building pdo_firebird on macOS with clang 15

This commit is contained in:
Shivam Mathur 2024-12-29 09:17:30 +05:30
parent cffd8ca58a
commit 12b88cf3e2
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -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"