diff options
author | 2017-08-30 18:24:59 -0700 | |
---|---|---|
committer | 2017-08-30 18:24:59 -0700 | |
commit | 5054bfe8ff9a3642d85e28249e5f8763d288ebc5 (patch) | |
tree | a4cea040f791bb45ba8ede1e671ef76e55853006 | |
parent | b45b83ca2798126781fc878f459090ab881dcdf0 (diff) | |
parent | 1ebe1e89155159a933ffadc58a07d8aa5e49b844 (diff) |
Merge pull request #12324 from stanley-cheung/php-1_6-fixes
PHP: update config.m4
-rw-r--r-- | config.m4 | 2 | ||||
-rw-r--r-- | templates/config.m4.template | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ if test "$PHP_GRPC" != "no"; then LIBS="-lpthread $LIBS" CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11" - CXXFLAGS="-std=c++11" + CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(pthread) diff --git a/templates/config.m4.template b/templates/config.m4.template index f91893c2bd..cd93fbd0fb 100644 --- a/templates/config.m4.template +++ b/templates/config.m4.template @@ -14,7 +14,7 @@ LIBS="-lpthread $LIBS" CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11" - CXXFLAGS="-std=c++11" + CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(pthread) |