libpfm: use hostPlatform
(cherry picked from commit 08f5b419b9efc77db044f8c1d725632552617966)
This commit is contained in:
parent
e36cd48b6e
commit
76474b2da7
|
@ -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…
Reference in New Issue