parent
1eae89be7a
commit
98201e24a0
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
buildInputs = [ openmp ];
|
||||
|
||||
buildFlags = [ (lib.optional (openmp == null) "NO_OPENMP=1") ];
|
||||
|
||||
# clang builds require at least C99 or the build fails with:
|
||||
# error: unknown type name 'inline'
|
||||
env.NIX_CFLAGS_COMPILE = "-std=c99";
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue