- Adding demangle patch.
- Adding relro linker option
This commit is contained in:
parent
af2d650174
commit
43ee98e925
10
ltrace.spec
10
ltrace.spec
@ -1,11 +1,12 @@
|
||||
Summary: Tracks runtime library calls from dynamically linked executables.
|
||||
Name: ltrace
|
||||
Version: 0.4
|
||||
Release: 1.4
|
||||
Release: 1.5
|
||||
Source: ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_%{version}.orig.tar.gz
|
||||
Patch0: ltrace-opt_x.patch
|
||||
Patch1: ltrace-testsuite.patch
|
||||
Patch2: ltrace-opd.patch
|
||||
Patch3: ltrace-demangle.patch
|
||||
License: GPL
|
||||
Group: Development/Debuggers
|
||||
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 s390 s390x alpha sparc
|
||||
@ -28,11 +29,12 @@ execution of processes.
|
||||
%patch0 -p0
|
||||
%patch1 -p0
|
||||
%patch2 -p1
|
||||
%patch3 -p2
|
||||
sed -i -e 's/-o root -g root//' Makefile.in
|
||||
|
||||
%build
|
||||
export CC="gcc`echo $RPM_OPT_FLAGS | sed -n 's/^.*\(-m[36][124]\).*$/ \1/p'`"
|
||||
%configure CC="$CC"
|
||||
%configure CC="$CC" LDFLAGS="$LDFLAGS -Wl,-z,relro"
|
||||
make
|
||||
|
||||
%install
|
||||
@ -54,6 +56,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config /etc/ltrace.conf
|
||||
|
||||
%changelog
|
||||
* Tue May 3 2006 Petr Machata <pmachata@redhat.com> - 0.4-1.5
|
||||
- Correct a typo that prevented the inclusion of "demangle.h"
|
||||
- Adding -Wl,-z,relro
|
||||
|
||||
* Mon Apr 24 2006 Petr Machata <pmachata@redhat.com> - 0.4-1.4
|
||||
- turn off opd translation on ia64, GElf already gives us function
|
||||
address.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user