Compile with DWARFv4

This commit is contained in:
Konrad Kleine 2022-01-30 21:19:57 +01:00
parent eb45f0184d
commit ffa51889d6
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ find ../* -maxdepth 0 ! -name '%{name}' -exec rm -rf {} +
%build
# Test if we can default DWARF4 instead of 5
%global optflags %(echo %{optflags} " -gdwarf-4 ")
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_SKIP_RPATH=ON \
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \