diff --git a/pkgs/development/web/wml/default.nix b/pkgs/development/web/wml/default.nix index a6ffe6e84e3f..ff3d20f16dab 100644 --- a/pkgs/development/web/wml/default.nix +++ b/pkgs/development/web/wml/default.nix @@ -28,6 +28,10 @@ perlPackages.buildPerlPackage { patches = [ ./redhat-with-thr.patch ./dynaloader.patch ./no_bitvector.patch ]; + # Workaround build failure on -fno-common toolchains: + # ld: iselect_browse.o:(.bss+0x2020): multiple definition of `Line'; iselect_main.o:(.bss+0x100000): first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + hardeningDisable = [ "format" ]; postPatch = ''