Skip to content

Commit

Permalink
Merge pull request grpc#14768 from axot/bugfix/pecl_compile_flags
Browse files Browse the repository at this point in the history
Add missing FLAGS for pecl
  • Loading branch information
mehrdada authored Mar 26, 2018
2 parents c7c779f + c4e4ca7 commit a181e8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions templates/config.m4.template
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a181e8d

Please sign in to comment.