aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Zheng SHAO <axot@msn.com>2018-03-21 11:54:49 +0900
committerGravatar Zheng SHAO <axot@msn.com>2018-03-22 08:20:46 +0900
commitddc70629a99903be3a01568c936965b3604b9b78 (patch)
treeba4c84bbdb76d94fc4eb7399e5bf9a724eb522d9 /templates
parent92d11e368bdd7859058180da615f0d4af3f83f8d (diff)
add missing FLAGS for pecl
Diffstat (limited to 'templates')
-rw-r--r--templates/config.m4.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/config.m4.template b/templates/config.m4.template
index cd93fbd0fb..c039c53ffa 100644
--- a/templates/config.m4.template
+++ b/templates/config.m4.template
@@ -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)