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>
This commit is contained in:
parent
5f84f91375
commit
3be4e5532f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user