dedup: don't make openmp optional, per reviewer feedback

This commit is contained in:
Will Dietz 2019-04-22 16:16:57 -05:00
parent b101619465
commit ea5f38eea1

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, lz4, snappy, openmp ? null }:
{ stdenv, fetchurl, lz4, snappy, openmp }:
stdenv.mkDerivation rec {
pname = "dedup";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
"CC:=$(CC)"
"PREFIX=${placeholder "out"}"
"MANPREFIX=${placeholder "out"}/share/man"
] ++ stdenv.lib.optional (openmp != null) [
# These are likely wrong on some platforms, please report!
"OPENMPCFLAGS=-fopenmp"
"OPENMPLDLIBS=-lgomp"
];