Well I was mistaken, I forgot I had updated GCC to 7.1.0 (and LE doesn't even compile with 7.1.0) with GCC 6.2.0 still doesn't compile, but it is now a different error, I will leave a link to my package.mk in case anyone wants a jab at it.
LibreELEC.tv/package.mk at Sx05RE · shantigilbert/LibreELEC.tv · GitHub
I had to adapt a few patches for it to bypass a few errors on QT 5.9.