aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Carlos Santos <casantos@datacom.com.br>2018-12-14 23:38:13 -0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-16 16:26:51 +0100
commit3be4e5532f0fa798bddbfe28f17a67ef9d338c0e (patch)
tree298988c7c0b3212f40c595dd08b44438919a960d
parent5f84f91375ad5c3e810d2c22e9a545fbd489f2cd (diff)
downloadbuildroot-3be4e5532f0fa798bddbfe28f17a67ef9d338c0e.tar.gz
buildroot-3be4e5532f0fa798bddbfe28f17a67ef9d338c0e.tar.bz2
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 <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/pcm-tools/pcm-tools.mk1
1 files changed, 1 insertions, 0 deletions
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