Skip to content

Commit 2c16664

Browse files
committed
Fix phpize to include _GNU_SOURCE by default
This is to address the issue at php@067df26#commitcomment-61578732
1 parent a87f4dd commit 2c16664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/phpize.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ all_targets='$(PHP_MODULES) $(PHP_ZEND_EX)'
164164
install_targets="install-modules install-headers"
165165
phplibdir="`pwd`/modules"
166166
CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H"
167-
CFLAGS_CLEAN='$(CFLAGS)'
167+
CFLAGS_CLEAN='$(CFLAGS) -D_GNU_SOURCE'
168168
CXXFLAGS_CLEAN='$(CXXFLAGS)'
169169

170170
test "$prefix" = "NONE" && prefix="/usr/local"

0 commit comments

Comments
 (0)