forked from mirrors/nixpkgs
svn path=/nixpkgs/trunk/; revision=26858
This commit is contained in:
parent
a42b81d33d
commit
ece5a6bfc7
|
@ -13,9 +13,13 @@ rec {
|
|||
|
||||
phaseNames = ["doPatch" "fixX86Def" "killUsr" "doMakeInstall"];
|
||||
patches = [./constants.patch];
|
||||
|
||||
# fixes http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg02355.html
|
||||
my64bitFlags= if (a.stdenv.system == "x86_64-linux") then ["BACKEND=x86emu"] else [""];
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=$out"
|
||||
];
|
||||
] ++ [my64bitFlags];
|
||||
fixX86Def = a.fullDepEntry (''
|
||||
sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
|
||||
'') ["doUnpack" "minInit"];
|
||||
|
|
Loading…
Reference in a new issue