Browse Source

Set -std=gnu99 for PHP extension compile.

Joshua Haberman 4 years ago
parent
commit
78f56b84b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/ext/google/protobuf/config.m4

+ 1 - 1
php/ext/google/protobuf/config.m4

@@ -5,6 +5,6 @@ if test "$PHP_PROTOBUF" != "no"; then
   PHP_NEW_EXTENSION(
   PHP_NEW_EXTENSION(
     protobuf,
     protobuf,
     arena.c array.c convert.c def.c map.c message.c names.c php-upb.c protobuf.c,
     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
 fi