Skip to content

Commit

Permalink
Include -std=c++11 when compiling protobuf if available.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiocampama committed Dec 7, 2016
1 parent 607b921 commit 1d91c25
Show file tree
Hide file tree
Showing 2 changed files with 984 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading

0 comments on commit 1d91c25

Please sign in to comment.