summaryrefslogtreecommitdiff
path: root/Makefile.target
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.target
parentd2e9fd8f703203c2eeeed120b1ef6c3a6574e0ab (diff)
downloadqemu-4a24470497360d8b77568b83008d0e9d6eb0787d.tar.gz
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.target')
-rw-r--r--Makefile.target1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index 0159bf7a00..a0f24fa2eb 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -111,6 +111,7 @@ CFLAGS+=$(OS_CFLAGS) $(ARCH_CFLAGS)
LDFLAGS+=$(OS_LDFLAGS) $(ARCH_LDFLAGS)
CPPFLAGS+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+CPPFLAGS+=-U_FORTIFY_SOURCE
LIBS+=-lm
ifdef CONFIG_WIN32
LIBS+=-lwinmm -lws2_32 -liphlpapi