diff options
author | monty@mysql.com/narttu.mysql.fi <> | 2007-02-21 14:07:08 +0200 |
---|---|---|
committer | monty@mysql.com/narttu.mysql.fi <> | 2007-02-21 14:07:08 +0200 |
commit | 26aa385bc5278ec0ae842cf6558d8fd32b6876f1 (patch) | |
tree | 57fb0c9c6c3686011b021c42671cf5065cdc0cf6 /BUILD | |
parent | 37cedb7efad7568b496eb981e40a0910c0e22494 (diff) | |
parent | 222e128b34e7cfa67270a03c3d690d81dc0bc17b (diff) | |
download | mariadb-git-26aa385bc5278ec0ae842cf6558d8fd32b6876f1.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/SETUP.sh | 9 | ||||
-rwxr-xr-x | BUILD/compile-pentium-gcov | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 7f979d765d3..febaac66e14 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -49,11 +49,14 @@ SSL_LIBRARY=--with-yassl # If you are not using codefusion add "-Wpointer-arith" to WARNINGS # The following warning flag will give too many warnings: -# -Wshadow -Wunused -Winline (The later isn't usable in C++ as +# -Wunused -Winline (The later isn't usable in C++ as # __attribute()__ doesn't work with gnu C++) -global_warnings="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings" -#debug_extra_warnings="-Wuninitialized" +global_warnings="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable" +# +# For more warnings, uncomment the following line +# global_warnings="$global_warnings -Wshadow" + c_warnings="$global_warnings -Wunused" cxx_warnings="$global_warnings -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor" base_max_configs="--with-innodb --with-ndbcluster --with-archive-storage-engine --with-big-tables --with-blackhole-storage-engine --with-federated-storage-engine --with-csv-storage-engine $SSL_LIBRARY" diff --git a/BUILD/compile-pentium-gcov b/BUILD/compile-pentium-gcov index b024bba49bf..26475824570 100755 --- a/BUILD/compile-pentium-gcov +++ b/BUILD/compile-pentium-gcov @@ -14,7 +14,9 @@ export LDFLAGS="-fprofile-arcs -ftest-coverage" # The -fprofile-arcs and -ftest-coverage options cause GCC to instrument the # code with profiling information used by gcov. # the -DDISABLE_TAO_ASM is needed to avoid build failures in Yassl. -extra_flags="$pentium_cflags -fprofile-arcs -ftest-coverage -DDISABLE_TAO_ASM" +extra_flags="$pentium_cflags -fprofile-arcs -ftest-coverage -DDISABLE_TAO_ASM $debug_cflags $max_cflags -DMYSQL_SERVER_SUFFIX=-gcov" +c_warnings="$c_warnings $debug_extra_warnings" +cxx_warnings="$cxx_warnings $debug_extra_warnings" extra_configs="$pentium_configs $debug_configs --disable-shared $static_link" extra_configs="$extra_configs $max_configs" |