mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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 = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"LDCONFIG=true"
|
||||
"ARCH=${stdenv.targetPlatform.uname.processor}"
|
||||
"SYS=${stdenv.targetPlatform.uname.system}"
|
||||
"ARCH=${stdenv.hostPlatform.uname.processor}"
|
||||
"SYS=${stdenv.hostPlatform.uname.system}"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||
|
Loading…
Reference in New Issue
Block a user