freerdp: remove 'optimize' parametes

all `x86_64` has SSE2, so it is needless
This commit is contained in:
volth 2019-04-09 19:19:06 +00:00 committed by GitHub
parent 36bb2e3beb
commit c26640c157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@
, pcsclite ? null
, systemd ? null
, buildServer ? true
, optimize ? true
}:
stdenv.mkDerivation rec {
@ -58,7 +57,7 @@ stdenv.mkDerivation rec {
++ optional (cups != null) "-DWITH_CUPS=ON"
++ optional (pcsclite != null) "-DWITH_PCSC=ON"
++ optional buildServer "-DWITH_SERVER=ON"
++ optional (optimize && stdenv.isx86_64) "-DWITH_SSE2=ON";
++ optional (stdenv.isx86_64) "-DWITH_SSE2=ON";
meta = with lib; {
description = "A Remote Desktop Protocol Client";