summary refs log tree commit diff
path: root/pkgs/development/libraries/boost/1.47.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/boost/1.47.nix')
-rw-r--r--pkgs/development/libraries/boost/1.47.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/boost/1.47.nix b/pkgs/development/libraries/boost/1.47.nix
index 7a2486883f9..c63ee94fa9b 100644
--- a/pkgs/development/libraries/boost/1.47.nix
+++ b/pkgs/development/libraries/boost/1.47.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
              "";