Explorar o código

Set -std=gnu99 for PHP extension compile.

Joshua Haberman %!s(int64=5) %!d(string=hai) anos
pai
achega
78f56b84b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(
     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