Detection of compiler flags is performed by running distutils.ccompiler.new_compiler() which is not necessarily the correct one used for actual compilation of FFC and JITing.
This is a show-stopper for some hashdist installs with custom compiler and appeared already as https://bitbucket.org/fenics-project/dolfin/issue/449 and http://fenicsproject.org/pipermail/fenics-support/2015-February/001277.html.
Exporting
CXXFLAGS='-std=c++11’before running a python fenics script is an effective workaround but the issue remains valid.