lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

miranda: fix build with clang

+5 -1
+5 -1
pkgs/development/compilers/miranda/default.nix
··· 55 55 # Workaround build failure on -fno-common toolchains like upstream 56 56 # gcc-10. Otherwise build fails as: 57 57 # ld: types.o:(.bss+0x11b0): multiple definition of `current_file'; y.tab.o:(.bss+0x70): first defined here 58 - env.NIX_CFLAGS_COMPILE = "-fcommon"; 58 + env.NIX_CFLAGS_COMPILE = toString ([ 59 + "-fcommon" 60 + ] ++ lib.optionals stdenv.cc.isClang [ 61 + "-Wno-error=int-conversion" 62 + ]); 59 63 60 64 makeFlags = [ 61 65 "CC=${stdenv.cc.targetPrefix}cc"