scumvm: Don't use crossAttrs
This commit is contained in:
parent
aa8944f403
commit
3470fa196d
@ -20,22 +20,16 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
configurePlatforms = [ "host" ];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-c++11"
|
"--enable-c++11"
|
||||||
"--enable-release"
|
"--enable-release"
|
||||||
];
|
];
|
||||||
|
|
||||||
crossAttrs = {
|
# They use 'install -s', that calls the native strip instead of the cross
|
||||||
preConfigure = ''
|
postConfigure = ''
|
||||||
# Remove the --build flag set by the gcc cross wrapper setup
|
sed -i "s/-c -s/-c -s --strip-program=''${STRIP@Q}" ports.mk
|
||||||
# hook
|
'';
|
||||||
export configureFlags="--host=${hostPlatform.config}"
|
|
||||||
'';
|
|
||||||
postConfigure = ''
|
|
||||||
# They use 'install -s', that calls the native strip instead of the cross
|
|
||||||
sed -i 's/-c -s/-c/' ports.mk;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
|
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user