Merge pull request #176425 from trofi/workaround-fno-common-for-cdesktopenv
cdesktopenv: add -fcommon workaround
This commit is contained in:
commit
4195de6685
@ -49,6 +49,11 @@ in stdenv.mkDerivation rec {
|
|||||||
# build fails otherwise
|
# build fails otherwise
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
|
# Workaround build failure on -fno-common toolchains:
|
||||||
|
# ld: raima/startup.o:/build/cde-2.3.2/lib/DtSearch/raima/dbtype.h:408: multiple definition of
|
||||||
|
# `__SK__'; raima/alloc.o:/build/cde-2.3.2/lib/DtSearch/raima/dbtype.h:408: first defined here
|
||||||
|
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"World"
|
"World"
|
||||||
"BOOTSTRAPCFLAGS=-I${xorgproto}/include/X11"
|
"BOOTSTRAPCFLAGS=-I${xorgproto}/include/X11"
|
||||||
|
Loading…
Reference in New Issue
Block a user