message: Use --std=c++11 flag to compile c++ source files
diff: @@ -56,9 +56,8 @@ LIBS := \
  # There are no rules for compiling objects for the host system (since we don't
  # generate things like the protobuf compiler that require that), so all of
  # these settings are for the target compiler.
  -CXXFLAGS := -O3 -DNDEBUG -fPIC
  -CXXFLAGS += $(EXTRA_CXXFLAGS)
  -CFLAGS := ${CXXFLAGS}
  +CFLAGS := -O3 -DNDEBUG -fPIC
  +CXXFLAGS := $(CFLAGS) --std=c++11 $(EXTRA_CXXFLAGS)
  LDOPTS := -L/usr/local/lib
  ARFLAGS := -r
  TARGET_TOOLCHAIN_PREFIX :=
  @@ -68,10 +67,6 @@ ifeq ($(HOST_OS),windows)
  CXXFLAGS += -fext-numeric-literals -D__LITTLE_ENDIAN__
  endif
  -ifeq ($(TARGET),ios)
  -CXXFLAGS += --std=c++11
  -endif
  -
  # Auto-detect optimization opportunity if building natively.
  ifeq ($(HOST_OS),$(TARGET))
  ifeq ($(HOST_ARCH),$(TARGET_ARCH))
  