Cross-compile for My Cloud Gen2 with C++11 support?

Hi everyone!

I downloaded the WD My Cloud GPL Source Code, successfully set up the toolchain for cross-compilation and successfully compiled some of the open source packages.

Now, I would like to compile another program from source but I’m having this issue:

cc1plus: error: unrecognized command line option '-std=c++11'

It looks like arm-marvell-linux-gnueabi-g++ (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) does not support that flag.

My program has a dependency on Boost, which tries to compile using that flag. Any clue on how to workaround this problem?

Thanks!!!

cc/ @Fox_exe