mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
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
|
||||
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 = [
|
||||
"World"
|
||||
"BOOTSTRAPCFLAGS=-I${xorgproto}/include/X11"
|
||||
|
Loading…
Reference in New Issue
Block a user