Commit 21a8b8d4 authored by hacker1024's avatar hacker1024 Committed by Alyssa Ross
Browse files

llvmPackages.openmp: Build static libraries when appropriate

parent ecd9d988
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ stdenv.mkDerivation (rec {
  ];

  cmakeFlags = [
    (lib.cmakeBool "LIBOMP_ENABLE_SHARED" (!stdenv.hostPlatform.isStatic && stdenv.hostPlatform.hasSharedLibraries))
    (lib.cmakeBool "LIBOMP_OMPD_SUPPORT" ompdSupport)
    (lib.cmakeBool "LIBOMP_OMPD_GDB_SUPPORT" ompdGdbSupport)
  ] ++ lib.optionals (lib.versions.major release_version == "13") [