[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/5] Use gcc warning flag -Wtype-limits
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [PATCH 5/5] Use gcc warning flag -Wtype-limits |
Date: |
Sat, 4 Sep 2010 14:18:04 +0000 |
If the compiler supports the warning flag -Wtype-limits, use it.
Signed-off-by: Blue Swirl <address@hidden>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 146dac0..47bbe39 100755
--- a/configure
+++ b/configure
@@ -138,7 +138,7 @@ QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS"
QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS"
LDFLAGS="-g $LDFLAGS"
-gcc_flags="-Wold-style-declaration -Wold-style-definition
-fstack-protector-all"
+gcc_flags="-Wold-style-declaration -Wold-style-definition
-Wtype-limits -fstack-protector-all"
cat > $TMPC << EOF
int main(void) { return 0; }
EOF
--
1.6.2.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH 5/5] Use gcc warning flag -Wtype-limits,
Blue Swirl <=