Default to DWARF4

This commit is contained in:
Konrad Kleine 2022-01-29 16:55:20 +01:00
parent ba84e45517
commit 859dce41f5

View file

@ -256,6 +256,9 @@ LLVM's modified googletest sources.
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif %endif
# Test if we can default DWARF4 instead of 5
%global optflags %(echo %{optflags} " -gdwarf-4 ")
# force off shared libs as cmake macros turns it on. # force off shared libs as cmake macros turns it on.
%cmake -G Ninja \ %cmake -G Ninja \
-DBUILD_SHARED_LIBS:BOOL=OFF \ -DBUILD_SHARED_LIBS:BOOL=OFF \