diff options
author | lloyd <[email protected]> | 2010-06-28 14:51:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-28 14:51:23 +0000 |
commit | 420bb86ee0722cb214378611d8b0ceffedfc5eba (patch) | |
tree | 2fce459c5e7fc6e009947b0970a56850b0bd2617 /src/build-data/cc/gcc.txt | |
parent | 9caa9772727a14a81a4d8a00d9a86d3067f95a43 (diff) |
Add a new configure option --maintainer-mode which turns on the full
set of warning flags. Use just plain '-Wall -W' for regular GCC so the
default build is happy on arbitrarily old versions.
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r-- | src/build-data/cc/gcc.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 6d68dc890..06840b362 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -11,8 +11,9 @@ add_lib_dir_option -L add_lib_option -l lang_flags "-D_REENTRANT -ansi -Wno-long-long" -#warning_flags "-W -Wall" -warning_flags "-Werror -Wextra -Wall -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual" +warning_flags "-W -Wall" + +maintainer_warning_flags "-Werror -Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual" lib_opt_flags "-O3" check_opt_flags "-O2" |