aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/config.m4.template
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2017-08-30 14:52:57 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2017-08-30 14:52:57 -0700
commit1ebe1e89155159a933ffadc58a07d8aa5e49b844 (patch)
treea4cea040f791bb45ba8ede1e671ef76e55853006 /templates/config.m4.template
parentb45b83ca2798126781fc878f459090ab881dcdf0 (diff)
PHP: fix c++ error after c core 1.6 uptake
Diffstat (limited to 'templates/config.m4.template')
-rw-r--r--templates/config.m4.template2
1 files changed, 1 insertions, 1 deletions
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)