roccat-tools: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: ryos_talk.c.o:(.bss+0x0): multiple definition of `RyosWriteCheckWait'; ryos_custom_lights.c.o:(.bss+0x0): first defined here
This commit is contained in:
parent
49c4223e98
commit
0758a0fa27
1 changed files with 8 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue