forked from pool/dwarves
This commit is contained in:
parent
58ed810138
commit
c6fcc3b39f
@ -29,7 +29,7 @@ Group: Development/Tools/Debuggers
|
||||
URL: https://acmel.wordpress.com/
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/devel/pahole/pahole
|
||||
#Git-Web: http://git.kernel.org/cgit/devel/pahole/pahole.git
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Source: %name-%version.tar.xz
|
||||
#Source: https://fedorapeople.org/~acme/dwarves/dwarves-%version.tar.xz
|
||||
#Source2: https://fedorapeople.org/~acme/dwarves/dwarves-%version.tar.sign
|
||||
Source9: baselibs.conf
|
||||
@ -101,10 +101,9 @@ ver=$(echo %version | cut -d+ -f1)
|
||||
echo "DWARVES_$ver{ global: *; };" >"$sv"
|
||||
%cmake -DCMAKE_SHARED_LINKER_FLAGS:STRING="-Wl,--version-script=$sv" \
|
||||
%if 0%{?have_libbpf}
|
||||
-DLIBBPF_EMBEDDED=OFF
|
||||
%else
|
||||
|
||||
-DLIBBPF_EMBEDDED=OFF \
|
||||
%endif
|
||||
%nil
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user