Commit 4c84b474 authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #2460 from sergiocampama/c11

Include -std=c++11 when compiling protobuf if available.
parents c836ad4d 1d91c258
......@@ -178,6 +178,8 @@ case "$target_os" in
esac
AM_CONDITIONAL([OBJC_CONFORMANCE_TEST], [test $OBJC_CONFORMANCE_TEST = 1])
AX_CXX_COMPILE_STDCXX([11], [noext], [optional])
# HACK: Make gmock's configure script pick up our copy of CFLAGS and CXXFLAGS,
# since the flags added by ACX_CHECK_SUNCC must be used when compiling gmock
# too.
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment