summaryrefslogtreecommitdiffstats
path: root/BUILD
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 13:22:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 13:22:53 +0000
commit347c164c35eddab388009470e6848cb361ac93f8 (patch)
tree2c0c44eac690f510bb0a35b2a13b36d606b77b6b /BUILD
parentReleasing progress-linux version 1:10.11.7-4~progress7.99u1. (diff)
downloadmariadb-347c164c35eddab388009470e6848cb361ac93f8.tar.xz
mariadb-347c164c35eddab388009470e6848cb361ac93f8.zip
Merging upstream version 1:10.11.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/SETUP.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 0defa2d4..5b02a8aa 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -267,6 +267,12 @@ if test `$CC -v 2>&1 | tail -1 | sed 's/ .*$//'` = 'gcc' ; then
fi
fi
+if test `$CC -v 2>&1 | head -1 | sed 's/ .*$//'` = 'clang' ; then
+ dbug_cflags="$dbug_cflags -Wframe-larger-than=16384 -fno-inline"
+ c_warnings="$c_warnings -Wframe-larger-than=16384"
+ cxx_warnings="$cxx_warnings -Wframe-larger-than=16384"
+fi
+
# If ccache (a compiler cache which reduces build time)
# (http://samba.org/ccache) is installed, use it.