[Libreoffice-commits] core.git: configure.ac
Noel Grandin
noel.grandin at collabora.co.uk
Wed Dec 14 09:42:04 UTC 2016
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 38c3386549251a46e0659c179883ee4370dad63a
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Wed Dec 14 11:40:10 2016 +0200
disable -Og on clang for now
Change-Id: Ia8f8ab2e84e41d2767a566be4009ddc54e4f2890
diff --git a/configure.ac b/configure.ac
index c26693b..29a30d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3797,7 +3797,8 @@ if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Werror -Og"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ HAVE_GCC_OG=TRUE ],[])
CFLAGS=$save_CFLAGS
- if test "$HAVE_GCC_OG" = "TRUE"; then
+ # clang as of version 4.0.0 (trunk 289424) doesn't do this very well (missing locals, bad param info in stack frame)
+ if test "$HAVE_GCC_OG" = "TRUE" -a "$COM_IS_CLANG" != "TRUE"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
More information about the Libreoffice-commits
mailing list