Skip to content

Commit

Permalink
Fix PHP8.4 build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
NoiseByNorthwest committed Sep 29, 2024
1 parent 4bc381e commit fab08fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ if test "$PHP_SPX" = "yes"; then

CFLAGS="-Werror -Wall -O3 -pthread -std=gnu90"

if test "$(uname -s 2>/dev/null)" = "Darwin"
then
# see discussion here https://github.com/NoiseByNorthwest/php-spx/pull/270
CFLAGS="$CFLAGS -Wno-typedef-redefinition"
fi

if test "$PHP_SPX_DEV" = "yes"
then
CFLAGS="$CFLAGS -g"
Expand Down

0 comments on commit fab08fe

Please sign in to comment.