From d798024479739bc675cb95c69a74a2fa6bfb7fcb Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Wed, 1 Jun 2022 09:33:57 -0700 Subject: [PATCH] xbindkeys-config: add -fcommon workaround --- pkgs/tools/X11/xbindkeys-config/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/X11/xbindkeys-config/default.nix b/pkgs/tools/X11/xbindkeys-config/default.nix index bdade93329b7..13234a814976 100644 --- a/pkgs/tools/X11/xbindkeys-config/default.nix +++ b/pkgs/tools/X11/xbindkeys-config/default.nix @@ -4,6 +4,10 @@ stdenv.mkDerivation rec { pname = "xbindkeys-config"; version = "0.1.3"; + # Workaround build failure on -fno-common toolchains like upstream + # gcc-10. + NIX_CFLAGS_COMPILE = "-fcommon"; + nativeBuildInputs = [ pkg-config makeWrapper ]; buildInputs = [ gtk ];