2004-01-14 10:59:19

by Jan Hubicka

[permalink] [raw]
Subject: Fix warning comming out of 3.4

Hi,
fix warning about declaration not matching _exit builtins produced by 3.4.
The -fno-builtin-XXXX are ignored for XXXX unknown so this should not be
problem for earlier compilers.

Honza

--- ./Makefile.old 2004-01-13 00:56:04.000000000 +0100
+++ ./Makefile 2004-01-13 15:55:42.000000000 +0100
@@ -276,7 +276,8 @@ CPPFLAGS := -D__KERNEL__ -Iinclud
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include)

CFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs \
- -fno-strict-aliasing -fno-common
+ -fno-strict-aliasing -fno-common \
+ -fno-builtin-_exit
AFLAGS := -D__ASSEMBLY__

export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION KERNELRELEASE ARCH \