libpfm: fix cross compilation
This commit is contained in:
parent
b3ae7d1c8c
commit
4b6bdc29b0
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = "DESTDIR=\${out} PREFIX= LDCONFIG=true";
|
installFlags = "DESTDIR=\${out} PREFIX= LDCONFIG=true";
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"ARCH=${stdenv.targetPlatform.uname.processor}"
|
||||||
|
"SYS=${stdenv.targetPlatform.uname.system}"
|
||||||
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user