Merge pull request #172144 from RasmusRendal/rhashbuildtarget

rhash: Correctly set target platform when configuring
This commit is contained in:
davidak 2022-05-11 03:52:56 +02:00 committed by GitHub
commit ed99c668a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--ar=${stdenv.cc.targetPrefix}ar"
"--target=${stdenv.hostPlatform.config}"
(lib.enableFeature enableStatic "static")
(lib.enableFeature enableStatic "lib-static")
];