amd64 is still x86
svn path=/nixpkgs/trunk/; revision=24648
This commit is contained in:
parent
477bb198c7
commit
df168884a0
@ -11,11 +11,14 @@ rec {
|
||||
inherit (s) name;
|
||||
inherit buildInputs;
|
||||
|
||||
phaseNames = ["doPatch" "killUsr" "doMakeInstall"];
|
||||
phaseNames = ["doPatch" "fixX86Def" "killUsr" "doMakeInstall"];
|
||||
patches = [./constants.patch];
|
||||
makeFlags = [
|
||||
"DESTDIR=$out"
|
||||
];
|
||||
fixX86Def = a.fullDepEntry (''
|
||||
sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
|
||||
'') ["doUnpack" "minInit"];
|
||||
killUsr = a.fullDepEntry (''
|
||||
sed -e s@/usr@@ -i Makefile
|
||||
'') ["doUnpack" "minInit"];
|
||||
|
Loading…
Reference in New Issue
Block a user