3
0
Fork 0
forked from mirrors/nixpkgs

rhash: Correctly set target platform when configuring

The non-standard configure script did not detect it, and we have to
supply this argument.

This closes #113742
This commit is contained in:
Rasmus Rendal 2022-05-09 09:09:13 +02:00
parent 600d32b5bf
commit 4317c93104
No known key found for this signature in database
GPG key ID: 141FEFA3226E3797

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")
];