Merge pull request #176425 from trofi/workaround-fno-common-for-cdesktopenv

cdesktopenv: add -fcommon workaround

authored by Sergei Trofimovich and committed by GitHub 4195de66 514a628d

+5
+5
pkgs/desktops/cdesktopenv/default.nix
··· 49 49 # build fails otherwise 50 50 enableParallelBuilding = false; 51 51 52 + # Workaround build failure on -fno-common toolchains: 53 + # ld: raima/startup.o:/build/cde-2.3.2/lib/DtSearch/raima/dbtype.h:408: multiple definition of 54 + # `__SK__'; raima/alloc.o:/build/cde-2.3.2/lib/DtSearch/raima/dbtype.h:408: first defined here 55 + NIX_CFLAGS_COMPILE = "-fcommon"; 56 + 52 57 makeFlags = [ 53 58 "World" 54 59 "BOOTSTRAPCFLAGS=-I${xorgproto}/include/X11"