diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-18 05:53:15 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-18 05:53:15 +0000 |
commit | 6e15cb5f6d87d0039b4c1590d1577ae14db17b50 (patch) | |
tree | 3634565a98f2de40bdab40e19cb97b7e079aa2cd /configure | |
parent | 7d1476898fd58d6ae5c054e6afddf18c335d9d89 (diff) |
Use gcc warning flag -Wtype-limits
If the compiler supports the warning flag -Wtype-limits, use it.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |