openssl: don't build tests if check is disabled
This commit is contained in:
@@ -239,7 +239,10 @@ let
|
||||
# the code above, inhibiting `./Configure` from adding the
|
||||
# conflicting flags.
|
||||
"CFLAGS=-march=${stdenv.hostPlatform.gcc.arch}"
|
||||
];
|
||||
]
|
||||
# tests are not being installed, it makes no sense
|
||||
# to build them if check is disabled, e.g. on cross.
|
||||
++ lib.optional (!finalAttrs.finalPackage.doCheck) "disable-tests";
|
||||
|
||||
makeFlags = [
|
||||
"MANDIR=$(man)/share/man"
|
||||
|
||||
Reference in New Issue
Block a user