gcl: add -fcommon workaround

Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

ld: ./libgclp.a(user_match.o):(.bss+0x18): multiple definition of
`tf'; ./libpre_gcl.a(main.o):(.bss+0x326d90): first defined here

+4 -1
+4 -1
pkgs/development/compilers/gcl/default.nix
··· 40 41 hardeningDisable = [ "pic" "bindnow" ]; 42 43 - NIX_CFLAGS_COMPILE = "-fgnu89-inline"; 44 45 meta = with lib; { 46 description = "GNU Common Lisp compiler working via GCC";
··· 40 41 hardeningDisable = [ "pic" "bindnow" ]; 42 43 + # -fcommon: workaround build failure on -fno-common toolchains: 44 + # ld: ./libgclp.a(user_match.o):(.bss+0x18): multiple definition of 45 + # `tf'; ./libpre_gcl.a(main.o):(.bss+0x326d90): first defined here 46 + NIX_CFLAGS_COMPILE = "-fgnu89-inline -fcommon"; 47 48 meta = with lib; { 49 description = "GNU Common Lisp compiler working via GCC";