From: Tim 'mithro' Ansell Date: Thu, 22 Jan 2009 04:06:41 +0000 (+1100) Subject: lguest: disable the FORTIFY for lguest. X-Git-Tag: v3.12-rc1~16107^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b44d49ab0954accefba4c71274ab58abe1c25c52;p=kernel%2Fkernel-generic.git lguest: disable the FORTIFY for lguest. Makes all the warnings go away when compiling lguest on Ubuntu on Intrepid or greater. Signed-off-by: Timothy R Ansell Signed-off-by: Rusty Russell --- diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile index 725eef8..1f4f9e8 100644 --- a/Documentation/lguest/Makefile +++ b/Documentation/lguest/Makefile @@ -1,5 +1,5 @@ # This creates the demonstration utility "lguest" which runs a Linux guest. -CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include +CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE LDLIBS:=-lz all: lguest