From 78f56b84b55657a31dcf5f4068fdb66d588fec00 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 2 Nov 2020 10:26:47 -0800 Subject: [PATCH] Set -std=gnu99 for PHP extension compile. --- php/ext/google/protobuf/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/ext/google/protobuf/config.m4 b/php/ext/google/protobuf/config.m4 index 635cb19a52..c09c03af0a 100644 --- a/php/ext/google/protobuf/config.m4 +++ b/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