oroborus: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: workspaces.o:src/keyboard.h:93: multiple definition of `NumLockMask'; client.o:src/keyboard.h:93: first defined here
This commit is contained in:
parent
49c4223e98
commit
d306eea857
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ stdenv.mkDerivation rec {
|
|||
xorgproto
|
||||
];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: workspaces.o:src/keyboard.h:93: multiple definition of
|
||||
# `NumLockMask'; client.o:src/keyboard.h:93: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://web.archive.org/web/20191129172107/https://www.oroborus.org/";
|
||||
description = "A really minimalistic X window manager";
|
||||
|
|
Loading…
Reference in a new issue