diff options
| author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-05-18 01:40:26 +0300 |
|---|---|---|
| committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-06-15 17:49:35 +0200 |
| commit | 5a5a5ade0fcc9317a7c75bde424aab3f32065e30 (patch) | |
| tree | e0f8d6e1ce962eb751d9d2493c1e7f16b0074d4a /pkgs/development/python-modules/python-sql | |
| parent | dbf1e0fb53090bb888b0b759c5676329551dc77e (diff) | |
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
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions
