From 8bc95895e11d3ebd1b9c3d76ba95622d09779b03 Mon Sep 17 00:00:00 2001
From: Nikolay Amiantov <ab@fmap.me>
Date: Sun, 17 Jan 2016 15:00:41 +0300
Subject: [PATCH] openmpi: remove enableStatic while it's still hot

Eelco showed alternative way of building static libraries via
stdenv adapter in a conversation several days ago and expressed
concern about adding new enableStatic flags.
---
 pkgs/development/libraries/openmpi/default.nix | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/pkgs/development/libraries/openmpi/default.nix b/pkgs/development/libraries/openmpi/default.nix
index 194a794235ab..1862e633ad50 100644
--- a/pkgs/development/libraries/openmpi/default.nix
+++ b/pkgs/development/libraries/openmpi/default.nix
@@ -5,9 +5,6 @@
 
 # Pass PATH/LD_LIBRARY_PATH to point to current mpirun by default
 , enablePrefix ? false
-
-# Build static libraries
-, enableStatic ? false
 }:
 
 with stdenv.lib;
@@ -30,7 +27,6 @@ in stdenv.mkDerivation rec {
   configureFlags = []
     ++ optional enableSGE "--with-sge"
     ++ optional enablePrefix "--enable-mpirun-prefix-by-default"
-    ++ optional enableStatic "--enable-static"
     ;
 
   enableParallelBuilding = true;