libpfm: use hostPlatform
(cherry picked from commit 08f5b419b9efc77db044f8c1d725632552617966)
This commit is contained in:
parent
ead13a3aca
commit
77d7d60d8c
@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=${placeholder "out"}"
|
"PREFIX=${placeholder "out"}"
|
||||||
"LDCONFIG=true"
|
"LDCONFIG=true"
|
||||||
"ARCH=${stdenv.targetPlatform.uname.processor}"
|
"ARCH=${stdenv.hostPlatform.uname.processor}"
|
||||||
"SYS=${stdenv.targetPlatform.uname.system}"
|
"SYS=${stdenv.hostPlatform.uname.system}"
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user