FreeBSD < 13 (supported until 2024-06-30) on powerpc*, mips*, sparc64 uses GCC 4.2 which defaults to -std=gnu89. Note, libwayland and libdbus still build fine with GCC 4.2.
-std=gnu89