nixpkgs/pkgs/misc/uml/no-aio.patch
Eelco Dolstra b63ec4b441 * UML 2.4.25.
svn path=/nixpkgs/trunk/; revision=1197
2004-07-29 20:20:59 +00:00

25 lines
834 B
Diff

diff -rc linux-orig/arch/um/os-Linux/Makefile linux-2.4.25/arch/um/os-Linux/Makefile
*** linux-orig/arch/um/os-Linux/Makefile 2004-07-29 21:39:41.000000000 +0200
--- linux-2.4.25/arch/um/os-Linux/Makefile 2004-07-29 21:56:51.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,15 ----
obj-y = aio.o file.o process.o time.o tty.o
! # Removed impure check for AIO feature in glibc.
! HAVE_AIO_ABI =
! HAVE_AIO_LIBC =
CFLAGS_aio.o = $(HAVE_AIO_ABI) $(HAVE_AIO_LIBC)
include $(TOPDIR)/Rules.make