parent
8ac025bd50
commit
a621dfe607
@ -1,3 +1,9 @@
|
|||||||
|
Remove linked libraries from Makefile. They break rebuilds from srpms on some
|
||||||
|
architectures. The linker flags are supplied from the spec.
|
||||||
|
|
||||||
|
Author: Jan Synacek <jsynacek@redhat.com>
|
||||||
|
RH-Bugzilla: #825153
|
||||||
|
|
||||||
--- Makefile.orig 2012-09-11 08:29:18.965821127 +0200
|
--- Makefile.orig 2012-09-11 08:29:18.965821127 +0200
|
||||||
+++ Makefile 2012-09-11 08:29:29.391803358 +0200
|
+++ Makefile 2012-09-11 08:29:29.391803358 +0200
|
||||||
@@ -31,7 +31,7 @@
|
@@ -31,7 +31,7 @@
|
||||||
@ -5,7 +11,7 @@
|
|||||||
all: numad
|
all: numad
|
||||||
|
|
||||||
-numad: numad.o -lpthread -lrt
|
-numad: numad.o -lpthread -lrt
|
||||||
+numad: numad.o -lrt
|
+numad: numad.o
|
||||||
|
|
||||||
AR ?= ar
|
AR ?= ar
|
||||||
RANLIB ?= ranlib
|
RANLIB ?= ranlib
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: numad
|
Name: numad
|
||||||
Version: 0.5
|
Version: 0.5
|
||||||
Release: 8.20121130git%{?dist}
|
Release: 9.20121130git%{?dist}
|
||||||
Summary: NUMA user daemon
|
Summary: NUMA user daemon
|
||||||
|
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
@ -32,7 +32,7 @@ and memory to minimize memory latency and thus provide optimum performance.
|
|||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="-std=gnu99 -g" LDFLAGS="-lpthread"
|
make CFLAGS="-std=gnu99 -g" LDFLAGS="-lpthread -lrt"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
@ -59,6 +59,10 @@ make install prefix=%{buildroot}/usr
|
|||||||
%systemd_postun numad.service
|
%systemd_postun numad.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 11 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-9.20121130git
|
||||||
|
- Update and comment the Makefile patch
|
||||||
|
- Related: #825153
|
||||||
|
|
||||||
* Mon Dec 03 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-8.20121130git
|
* Mon Dec 03 2012 Jan Synáček <jsynacek@redhat.com> - 0.5-8.20121130git
|
||||||
- Update to 20121130
|
- Update to 20121130
|
||||||
- Update spec: fix command to generate tarball
|
- Update spec: fix command to generate tarball
|
||||||
|
Loading…
Reference in New Issue
Block a user