about summary refs log tree commit diff
path: root/pkgs/development/libraries/stargate-libcds/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/stargate-libcds/default.nix')
-rw-r--r--pkgs/development/libraries/stargate-libcds/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/stargate-libcds/default.nix b/pkgs/development/libraries/stargate-libcds/default.nix
index b74f19e1959a..c37365652e72 100644
--- a/pkgs/development/libraries/stargate-libcds/default.nix
+++ b/pkgs/development/libraries/stargate-libcds/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   };
 
   # Fix 'error: unrecognized command line option' in platforms other than x86
-  PLAT_FLAGS = lib.optionalString stdenv.isx86_64 "-mfpmath=sse -mssse3";
+  PLAT_FLAGS = lib.optionalString stdenv.hostPlatform.isx86_64 "-mfpmath=sse -mssse3";
 
   patches = [
     # Remove unnecessary tests (valgrind, coverage)