X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=lldb-experimental.spec;h=8ee3e84a098616175f663b5a7bb05f2e44c5f52f;hb=f25710c731dc96a9acc1fddacc262579dc01f256;hp=6e6864a4af39491b374a5b7f487e8302117fbe56;hpb=d4985543a9c6e8db861c53668279ab025d620c76;p=lldb-experimental.git diff --git a/lldb-experimental.spec b/lldb-experimental.spec index 6e6864a..8ee3e84 100644 --- a/lldb-experimental.spec +++ b/lldb-experimental.spec @@ -19,7 +19,7 @@ %endif Name: lldb-experimental Version: 13.0.0 -Release: 0.20210423snap0%{?dist} +Release: 0.20210430snap0%{?dist} Summary: Next generation high-performance debugger - experimental trunk snapshot License: NCSA URL: http://lldb.llvm.org/ @@ -207,8 +207,16 @@ FLAGS="$FLAGS -g0" # -fno-reorder-blocks-and-partition: # -gsplit-dwarf: Error: can't resolve `.text.unlikely' - `.LVL414' # https://bugzilla.redhat.com/show_bug.cgi?id=1573647 +%if 0%{?fedora} != 35 FLAGS="$FLAGS -fdebug-types-section" %endif +%endif + +# Rawhide Gold on lldb-experimental build: invalid symbol table name index && section_header_offset: bad shndx +# https://bugzilla.redhat.com/show_bug.cgi?id=1954141 +%if 0%{?fedora} == 35 +FLAGS="$FLAGS -fno-lto" +%endif CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" @@ -237,6 +245,7 @@ CXXFLAGS="$FLAGS" -DLLDB_DISABLE_CURSES=OFF \ -DLLDB_DISABLE_LIBEDIT=OFF \ -DLLDB_DISABLE_PYTHON=OFF \ + -DLLVM_ENABLE_ASSERTIONS=ON \ # %cmake_build