aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim 'mithro' Ansell <mithro@mithis.com>2009-01-22 15:06:41 +1100
committerRusty Russell <rusty@rustcorp.com.au>2009-01-30 11:34:10 +1030
commitb44d49ab0954accefba4c71274ab58abe1c25c52 (patch)
treefb160500ae840f137e8289a2d74f130813d3cdd4
parent72410af921cbc9018da388ca1ddf75880a033ac1 (diff)
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 <mithro@mithis.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--Documentation/lguest/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile
index 725eef81cd4..1f4f9e888bd 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