aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-06-17 14:27:09 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-22 10:10:50 -0500
commit4a24470497360d8b77568b83008d0e9d6eb0787d (patch)
tree912f68c99b78d7be107f0ca33b99b4d4cd21eb52 /Makefile
parentd2e9fd8f703203c2eeeed120b1ef6c3a6574e0ab (diff)
Disable _FORTIFY_SOURCE to fix Ubuntu build with -Werror
This eliminates the results unused warnings. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dabf3220d5..a19950c1c0 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS)
CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@
CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+CPPFLAGS += -U_FORTIFY_SOURCE
LIBS=
ifdef CONFIG_STATIC
LDFLAGS += -static