Merge pull request #176455 from trofi/workaround-fno-common-for-roccat-tools

roccat-tools: add -fcommon workaround
This commit is contained in:
Anderson Torres 2022-06-05 21:25:19 -03:00 committed by GitHub
commit ab862d7e57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,14 @@ stdenv.mkDerivation rec {
"-DLIBDIR=lib"
];
NIX_CFLAGS_COMPILE = [ "-I${harfbuzz.dev}/include/harfbuzz" ];
NIX_CFLAGS_COMPILE = [
"-I${harfbuzz.dev}/include/harfbuzz"
# Workaround build failure on -fno-common toolchains:
# ld: ryos_talk.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait';
# ryos_custom_lights.c.o:(.bss+0x0): first defined here
"-fcommon"
];
meta = {
description = "Tools to configure ROCCAT devices";