Set -std=gnu99 for PHP extension compile.

pull/8000/head
Joshua Haberman 4 years ago
parent f65bcca31d
commit 78f56b84b5
  1. 2
      php/ext/google/protobuf/config.m4

@ -5,6 +5,6 @@ if test "$PHP_PROTOBUF" != "no"; then
PHP_NEW_EXTENSION(
protobuf,
arena.c array.c convert.c def.c map.c message.c names.c php-upb.c protobuf.c,
$ext_shared)
$ext_shared, , -std=gnu99)
fi

Loading…
Cancel
Save