소스 검색

Set -std=gnu99 for PHP extension compile.

Joshua Haberman 5 년 전
부모
커밋
78f56b84b5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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