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:
Sergei Trofimovich 2022-06-05 20:11:57 +01:00
parent 49c4223e98
commit d306eea857

View file

@ -46,6 +46,11 @@ stdenv.mkDerivation rec {
xorgproto 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; { meta = with lib; {
homepage = "https://web.archive.org/web/20191129172107/https://www.oroborus.org/"; homepage = "https://web.archive.org/web/20191129172107/https://www.oroborus.org/";
description = "A really minimalistic X window manager"; description = "A really minimalistic X window manager";