Skip to content

Commit 0aaa05f

Browse files
committed
Add -Wno-strict-prototypes compiler flag to pspell extension
1 parent 260cb31 commit 0aaa05f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/pspell/config.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ PHP_ARG_WITH([pspell],
44
[Include PSPELL support. GNU Aspell version 0.50.0 or higher required])])
55

66
if test "$PHP_PSPELL" != "no"; then
7-
PHP_NEW_EXTENSION(pspell, pspell.c, $ext_shared)
7+
dnl Add -Wno-strict-prototypes as depends on user libs
8+
PHP_NEW_EXTENSION(pspell, pspell.c, $ext_shared, , [-Wno-strict-prototypes])
89
if test "$PHP_PSPELL" != "yes"; then
910
PSPELL_SEARCH_DIRS=$PHP_PSPELL
1011
else

0 commit comments

Comments
 (0)