Skip to content

Commit

Permalink
Fix phpize to include _GNU_SOURCE by default
Browse files Browse the repository at this point in the history
This is to address the issue at
067df26#commitcomment-61578732
  • Loading branch information
derickr committed Jun 16, 2022
1 parent a87f4dd commit 2c16664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/phpize.m4
Expand Up @@ -164,7 +164,7 @@ all_targets='$(PHP_MODULES) $(PHP_ZEND_EX)'
install_targets="install-modules install-headers"
phplibdir="`pwd`/modules"
CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H"
CFLAGS_CLEAN='$(CFLAGS)'
CFLAGS_CLEAN='$(CFLAGS) -D_GNU_SOURCE'
CXXFLAGS_CLEAN='$(CXXFLAGS)'

test "$prefix" = "NONE" && prefix="/usr/local"
Expand Down

0 comments on commit 2c16664

Please sign in to comment.