1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
Commit graph

6 commits

Author SHA1 Message Date
Joachim Fasting a799e1dff2 libx86: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Tuomas Tynkkynen 5a5a5ade0f libx86: Add patch from debian to fix build on ARM
Without this, the build fails even with x86emu:

make LIBRARY=static static
make[1]: Entering directory '/tmp/nix-build-libx86-1.1.drv-0/libx86-1.1'
gcc -O2 -Wall -DDEBUG -g   -c -o x86-common.o x86-common.c
gcc -O2 -Wall -DDEBUG -g   -c -o thunk.o thunk.c
thunk.c: In function 'x_inb':
thunk.c:40:9: error: impossible constraint in 'asm'
         __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); \
         ^
thunk.c:44:1: note: in expansion of macro '__BUILDIO'
 __BUILDIO(b,b,char)
 ^
<builtin>: recipe for target 'thunk.o' failed
make[1]: *** [thunk.o] Error 1
make[1]: Leaving directory '/tmp/nix-build-libx86-1.1.drv-0/libx86-1.1'
Makefile:17: recipe for target 'default' failed
make: *** [default] Error 2
2015-06-15 17:49:35 +02:00
Joachim Schiele 0686dd5767 same fix but now using stdenv.lib.optionals recommended by shlevy
svn path=/nixpkgs/trunk/; revision=26859
2011-04-16 23:00:47 +00:00
Joachim Schiele ece5a6bfc7 fixes this bug http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg02355.html
svn path=/nixpkgs/trunk/; revision=26858
2011-04-16 22:47:15 +00:00
Michael Raskin df168884a0 amd64 is still x86
svn path=/nixpkgs/trunk/; revision=24648
2010-11-10 17:32:08 +00:00
Michael Raskin e618a80968 Adding vbetool
svn path=/nixpkgs/trunk/; revision=17952
2009-10-24 19:58:07 +00:00