about summary refs log tree commit diff
path: root/pkgs/development/mobile/webos/novacomd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/mobile/webos/novacomd.nix')
-rw-r--r--pkgs/development/mobile/webos/novacomd.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/mobile/webos/novacomd.nix b/pkgs/development/mobile/webos/novacomd.nix
index dc330ce6d4e97..5e12fb5ce8a33 100644
--- a/pkgs/development/mobile/webos/novacomd.nix
+++ b/pkgs/development/mobile/webos/novacomd.nix
@@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ libusb-compat-0_1 ];
 
+  # Workaround build failure on -fno-common toolchains:
+  #   ld: src/host/usb-linux.c:82: multiple definition of `t_recovery_queue';
+  #     src/host/recovery.c:45: first defined here
+  NIX_CFLAGS_COMPILE = "-fcommon";
+
   cmakeFlags = [ "-DWEBOS_TARGET_MACHINE_IMPL=host" ];
 
   meta = with lib; {