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/boost/1.49.nix | |
parent | e2d505b24e50e16e3634478d565c7c9988b1d90f (diff) | |
download | nixlib-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar nixlib-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.gz nixlib-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.bz2 nixlib-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.lz nixlib-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.xz nixlib-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.zst nixlib-84779a6f7da93bd6325f478c62c82cc0a1a2e341.zip |
Remove unnecessary parentheses around if conditions
Pet peeve...
Diffstat (limited to 'pkgs/development/libraries/boost/1.49.nix')
-rw-r--r-- | pkgs/development/libraries/boost/1.49.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/boost/1.49.nix b/pkgs/development/libraries/boost/1.49.nix index ddda72468ab4..dfad38b30a5a 100644 --- a/pkgs/development/libraries/boost/1.49.nix +++ b/pkgs/development/libraries/boost/1.49.nix @@ -29,11 +29,11 @@ let (enableShared && enableStatic)) then "tagged" else "system"; - cflags = if (enablePIC && enableExceptions) then + cflags = if enablePIC && enableExceptions then "cflags=-fPIC -fexceptions cxxflags=-fPIC linkflags=-fPIC" - else if (enablePIC) then + else if enablePIC then "cflags=-fPIC cxxflags=-fPIC linkflags=-fPIC" - else if (enableExceptions) then + else if enableExceptions then "cflags=-fexceptions" else ""; |