diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-28 19:54:15 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-28 19:54:15 +0100 |
commit | 84779a6f7da93bd6325f478c62c82cc0a1a2e341 (patch) | |
tree | 554971a930d84656bb952ba0f9a328ef08e70c72 /pkgs/development/libraries/vxl | |
parent | e2d505b24e50e16e3634478d565c7c9988b1d90f (diff) | |
download | nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.gz nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.bz2 nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.lz nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.xz nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.zst nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.zip |
Remove unnecessary parentheses around if conditions
Pet peeve...
Diffstat (limited to 'pkgs/development/libraries/vxl')
-rw-r--r-- | pkgs/development/libraries/vxl/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/vxl/default.nix b/pkgs/development/libraries/vxl/default.nix index 5f49c3351fa..2f169f3f25d 100644 --- a/pkgs/development/libraries/vxl/default.nix +++ b/pkgs/development/libraries/vxl/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation { # BUILD_OUL wants old linux headers for videodev.h, not available # in stdenv linux headers cmakeFlags = "-DBUILD_TESTING=OFF -DBUILD_OUL=OFF " - + (if (stdenv.system == "x86_64-linux") then + + (if stdenv.system == "x86_64-linux" then "-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC" else ""); |