You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.2 KiB

  1. #! /bin/sh
  2. # Copyright (C) 2007 MySQL AB
  3. # Use is subject to license terms
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; version 2 of the License.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  16. path=`dirname $0`
  17. . "$path/SETUP.sh"
  18. # Need to disable ccache, or we loose the gcov-needed compiler output files.
  19. CCACHE_DISABLE=1
  20. export CCACHE_DISABLE
  21. export LDFLAGS="$gcov_link_flags"
  22. extra_flags="$amd64_cflags $debug_cflags $max_cflags $gcov_compile_flags"
  23. c_warnings="$c_warnings $debug_extra_warnings"
  24. cxx_warnings="$cxx_warnings $debug_extra_warnings"
  25. extra_configs="$amd64_configs $debug_configs $gcov_configs $max_configs"
  26. . "$path/FINISH.sh"