rasm: fix darwin build
This commit is contained in:
parent
a0061df005
commit
9ef6fe63be
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
# according to official documentation
|
# according to official documentation
|
||||||
cc rasm_v*.c -O2 -lm -lrt -o rasm
|
${stdenv.cc.targetPrefix}cc rasm_v*.c -O2 -lm -o rasm
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
|
|||||||
# use -n option to display all licenses
|
# use -n option to display all licenses
|
||||||
license = licenses.mit; # expat version
|
license = licenses.mit; # expat version
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user