Revert "openssl: help build system to detect cross builds"

This reverts commit 5d006774c0.
This commit is contained in:
simonzkl
2025-11-19 19:11:37 +01:00
parent 89c2b2330e
commit 8efa0cf1e5
@@ -186,11 +186,6 @@ let
"--openssldir=/.$(etc)/etc/ssl"
)
]
# Tell build system it's cross environment. This allows to skip tests
# that would fail when libc is different. Otherwise, run the tests.
++ lib.optional (
!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform
) "--cross-compile-prefix=${lib.getBin stdenv.cc}/bin/"
++ lib.optionals withCryptodev [
"-DHAVE_CRYPTODEV"
"-DUSE_CRYPTODEV_DIGESTS"