Skip to content

Commit 5fa7cff

Browse files
committed
enable optimizer
1 parent f4c173f commit 5fa7cff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ PHP_ARG_ENABLE(bencode,
44

55
if test "$PHP_BENCODE" != "no"; then
66
AC_DEFINE(HAVE_BENCODE, 1, [Whether you have Bencode extension])
7-
CXXFLAGS="-std=c++11 -g -O0"
7+
CFLAGS="-g -O3"
8+
CXXFLAGS="-std=c++11 -g -O3"
89
PHP_REQUIRE_CXX()
910
PHP_SUBST(BENCODE_SHARED_LIBADD)
1011
PHP_ADD_LIBRARY(stdc++, 1, BENCODE_SHARED_LIBADD)

0 commit comments

Comments
 (0)