Merge pull request #175990 from patricksjackson/wiimms-iso-tools-fno-common

wiimms-iso-tools: add -fcommon workaround
This commit is contained in:
Sergei Trofimovich 2022-06-02 21:26:31 +00:00 committed by GitHub
commit 6435617524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = ''