diff options
author | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-03-25 22:45:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-25 22:45:04 -0700 |
commit | a181e8d91d8c692c95a5325c1f17d0f2fee57248 (patch) | |
tree | b000a5e2147592129e1fb5b39980c0a4f8f52b78 /config.m4 | |
parent | c7c779f51a6fdb66116e152bbccf185aae56bb39 (diff) | |
parent | c4e4ca7d8fb1ec7733090eae791e7d7c44d12487 (diff) |
Merge pull request #14768 from axot/bugfix/pecl_compile_flags
Add missing FLAGS for pecl
Diffstat (limited to 'config.m4')
-rw-r--r-- | config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |