3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/uml/no-aio.patch
Eelco Dolstra 9da3f23a89 * UML updated to 2.4.27-1.
svn path=/nixpkgs/trunk/; revision=1845
2004-12-09 19:48:40 +00:00

25 lines
783 B
Diff

diff -rc linux-orig/arch/um/os-Linux/Makefile linux-2.4.24/arch/um/os-Linux/Makefile
*** linux-orig/arch/um/os-Linux/Makefile 2004-07-29 23:32:53.000000000 +0200
--- linux-2.4.24/arch/um/os-Linux/Makefile 2004-07-29 23:33:15.000000000 +0200
***************
*** 7,16 ****
obj-y = aio.o file.o process.o time.o tty.o
! HAVE_AIO_ABI = $(shell [ -e /usr/include/linux/aio_abi.h ] && \
! echo -DHAVE_AIO_ABI)
! HAVE_AIO_LIBC = $(shell objdump -T /lib/libc-*.so | grep io_submit && \
! echo -DHAVE_AIO_LIBC)
CFLAGS_aio.o = $(HAVE_AIO_ABI) $(HAVE_AIO_LIBC)
include $(TOPDIR)/Rules.make
--- 7,14 ----
obj-y = aio.o file.o process.o time.o tty.o
! HAVE_AIO_ABI =
! HAVE_AIO_LIBC =
CFLAGS_aio.o = $(HAVE_AIO_ABI) $(HAVE_AIO_LIBC)
include $(TOPDIR)/Rules.make