wiimms-iso-tools: add -fcommon workaround

This commit is contained in:
Patrick Jackson 2022-06-02 12:32:21 -07:00
parent b6aa2dfb84
commit 4bc488ddfe

View file

@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
patchShebangs gen-text-file.sh
'';
NIX_CFLAGS_COMPILE = "-Wno-error=format-security";
# Workaround build failure on -fno-common toolchains like upstream gcc-10.
NIX_CFLAGS_COMPILE = "-Wno-error=format-security -fcommon";
INSTALL_PATH = "$out";
installPhase = ''