Unverified Commit 8c3defbf authored by Grimmauld's avatar Grimmauld Committed by GitHub
Browse files

openssl: don't build tests if check is disabled (#458164)

parents 17cf0451 fdfbb9d0
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"