From 3be4e5532f0fa798bddbfe28f17a67ef9d338c0e Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Fri, 14 Dec 2018 23:38:13 -0200 Subject: [PATCH] package/pcm-tools: fix build with GCC 4.8.2 Add "-std=c++11" to CXXFLAGS, forcing C++ 2011 standard (it's experimental in GCC 4.8.2 but goot enough to build pcm-tools). Fixes: http://autobuild.buildroot.net/results/cf3c79f0c94be8a184d532570bdb1893090316a3/ Signed-off-by: Carlos Santos Signed-off-by: Thomas Petazzoni --- package/pcm-tools/pcm-tools.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/pcm-tools/pcm-tools.mk b/package/pcm-tools/pcm-tools.mk index c0d6d8bc52..6d5938f94e 100644 --- a/package/pcm-tools/pcm-tools.mk +++ b/package/pcm-tools/pcm-tools.mk @@ -16,6 +16,7 @@ PCM_TOOLS_EXE_FILES = \ define PCM_TOOLS_BUILD_CMDS touch $(@D)/daemon-binaries $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" \ UNAME=Linux HOST=_LINUX endef -- 2.30.2