#4736 - rm deprecated build flag from cmake (-ffor-scope)
It would appear this -ffor-scope was deprecated in 8.1 according to:
https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Deprecated-Features.html#Deprecated-Features
so this should fix most of the cmake/ninja warnings.