When building on a new install of Arch you'll need to modify your CFLAGS
variable in /etc/makepkg.conf
and remove the following 3 flags:
-Werror=format-security
-fstack-clash-protection
-fcf-protection
Re-enable the flags after gcc7-libs
has compiled.
Pinned Comments