diff options
author | Monty <monty@mariadb.org> | 2018-01-10 19:36:38 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-01-10 19:36:38 +0200 |
commit | ec97aba28462aab18137f96317c4b441385df12a (patch) | |
tree | 2111cedae13afa37e992296545ee277daf7f626d /BUILD/compile-pentium64-asan-max | |
parent | dfde5ae912d402ec68fd17eda92112d84a07ffdd (diff) | |
download | mariadb-git-ec97aba28462aab18137f96317c4b441385df12a.tar.gz |
Fixed BUILD scripts
- Skip 'clean' if not a git repository
(Good for tar files)
- Add configuration for ASAN builds
Diffstat (limited to 'BUILD/compile-pentium64-asan-max')
-rwxr-xr-x | BUILD/compile-pentium64-asan-max | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/BUILD/compile-pentium64-asan-max b/BUILD/compile-pentium64-asan-max new file mode 100755 index 00000000000..db595b418df --- /dev/null +++ b/BUILD/compile-pentium64-asan-max @@ -0,0 +1,39 @@ +#! /bin/sh +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +path=`dirname $0` +. "$path/SETUP.sh" + +extra_flags="$pentium64_cflags $debug_cflags -lasan -O -g -fsanitize=address" +extra_configs="$pentium_configs $debug_configs $valgrind_configs $max_configs" +export LDFLAGS="-ldl" + +. "$path/FINISH.sh" |