mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
Default to DWARF4
This commit is contained in:
parent
ba84e45517
commit
859dce41f5
1 changed files with 3 additions and 0 deletions
|
@ -256,6 +256,9 @@ LLVM's modified googletest sources.
|
|||
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
|
||||
%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.
|
||||
%cmake -G Ninja \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
|
|
Loading…
Reference in a new issue