Skip to contentSkip to conversation

Fix warning comming out of 3.4

PATCH Jan Hubicka 1 participant 1 message Jan 14, 2004 Kbuild

lore
Share & tools
lore
#0 lore raw

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 renamed from Makefile.old +2 -1
@@ -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 \