Unverified Commit fdfbb9d0 authored by Grimmauld's avatar Grimmauld
Browse files

openssl: don't build tests if check is disabled

parent 69981fe5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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"