Merge pull request #176448 from trofi/workaround-fno-common-for-oroborus

oroborus: add -fcommon workaround
This commit is contained in:
Anderson Torres 2022-06-05 18:22:57 -03:00 committed by GitHub
commit 7d3fb31eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";