Kaydet (Commit) 38c33865 authored tarafından Noel Grandin's avatar Noel Grandin

disable -Og on clang for now

Change-Id: Ia8f8ab2e84e41d2767a566be4009ddc54e4f2890
üst c826ddfc
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment