Skip to content

Commit 0b976f2

Browse files
committed
set cpp compile params
1 parent fcc558f commit 0b976f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,7 @@ if test "$PHP_LISTNODE" != "no"; then
6767
dnl
6868
dnl PHP_SUBST(LISTNODE_SHARED_LIBADD)
6969

70+
dnl 设置C++编译参数
71+
CXXFLAGS="${CXXFLAGS} -std=c++11"
7072
PHP_NEW_EXTENSION(ListNode, ListNode.cc CListNode.cc,$ext_shared)
7173
fi

0 commit comments

Comments
 (0)