lguest: disable the FORTIFY for lguest.
authorTim 'mithro' Ansell <mithro@mithis.com>
Thu, 22 Jan 2009 04:06:41 +0000 (15:06 +1100)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 30 Jan 2009 01:04:10 +0000 (11:34 +1030)
Makes all the warnings go away when compiling lguest on Ubuntu on
Intrepid or greater.

Signed-off-by: Timothy R Ansell <mithro@mithis.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/Makefile

index 725eef81cd48b2af4e2af1c8574fddbf102d03cf..1f4f9e888bd1ab0ae834bb1a87ccfcf6ed26c6de 100644 (file)
@@ -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