Backport #14768 to v1.10.x
This commit is contained in:
Родитель
f9326b42b4
Коммит
d7bc06b935
|
@ -11,8 +11,8 @@ if test "$PHP_GRPC" != "no"; then
|
|||
|
||||
LIBS="-lpthread $LIBS"
|
||||
|
||||
CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11"
|
||||
CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti"
|
||||
CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2"
|
||||
CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2"
|
||||
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
|
||||
PHP_REQUIRE_CXX()
|
||||
PHP_ADD_LIBRARY(pthread)
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
LIBS="-lpthread $LIBS"
|
||||
|
||||
CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11"
|
||||
CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti"
|
||||
CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2"
|
||||
CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2"
|
||||
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
|
||||
PHP_REQUIRE_CXX()
|
||||
PHP_ADD_LIBRARY(pthread)
|
||||
|
|
Загрузка…
Ссылка в новой задаче