mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
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
@ -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 New Issue
Block a user