|
|
@ -11,8 +11,8 @@ if test "$PHP_GRPC" != "no"; then |
|
|
|
|
|
|
|
|
|
|
|
LIBS="-lpthread $LIBS" |
|
|
|
LIBS="-lpthread $LIBS" |
|
|
|
|
|
|
|
|
|
|
|
CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2" |
|
|
|
CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2 -D PB_FIELD_16BIT=1" |
|
|
|
CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2" |
|
|
|
CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2 -D PB_FIELD_16BIT=1" |
|
|
|
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" |
|
|
|
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" |
|
|
|
PHP_REQUIRE_CXX() |
|
|
|
PHP_REQUIRE_CXX() |
|
|
|
PHP_ADD_LIBRARY(pthread) |
|
|
|
PHP_ADD_LIBRARY(pthread) |
|
|
|