We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c173f commit 5fa7cffCopy full SHA for 5fa7cff
config.m4
@@ -4,7 +4,8 @@ PHP_ARG_ENABLE(bencode,
4
5
if test "$PHP_BENCODE" != "no"; then
6
AC_DEFINE(HAVE_BENCODE, 1, [Whether you have Bencode extension])
7
- CXXFLAGS="-std=c++11 -g -O0"
+ CFLAGS="-g -O3"
8
+ CXXFLAGS="-std=c++11 -g -O3"
9
PHP_REQUIRE_CXX()
10
PHP_SUBST(BENCODE_SHARED_LIBADD)
11
PHP_ADD_LIBRARY(stdc++, 1, BENCODE_SHARED_LIBADD)
0 commit comments