Problem observed during the builds:
The error seems to happens due to the rpath wrappers being as the compilers during the test step, which, when executed with -Werror makes the detection of the allowed --std=... flags fails due to errors of the type -Wunused-command-line-argument.