Skip to content

Commit

Permalink
[profiled] Fix aarch64 build. JB#49681
Browse files Browse the repository at this point in the history
Signed-off-by: Juho Hämäläinen <juho.hamalainen@jolla.com>
  • Loading branch information
jusa committed May 27, 2020
1 parent 2ed4825 commit dc350a7
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions rpm/profiled.spec
Expand Up @@ -64,17 +64,19 @@ profiled library.
%prep
%setup -q -n %{name}-%{version}

%define build_variables ROOT=%{buildroot} LIBDIR=%{_libdir} DLLDIR=%{_libdir} PKGCFGDIR=%{_libdir}/pkgconfig

%build
make %{_smp_mflags}
make %{build_variables} %{_smp_mflags}

%install
rm -rf %{buildroot}

make ROOT=%{buildroot} install-profiled
make ROOT=%{buildroot} install-libprofile
make ROOT=%{buildroot} install-libprofile-dev
make ROOT=%{buildroot} install-libprofile-doc
make ROOT=%{buildroot} install-profileclient
make %{build_variables} install-profiled
make %{build_variables} install-libprofile
make %{build_variables} install-libprofile-dev
make %{build_variables} install-libprofile-doc
make %{build_variables} install-profileclient
rm %{buildroot}/%{_libdir}/libprofile.a

%post -p /sbin/ldconfig
Expand All @@ -87,7 +89,7 @@ rm %{buildroot}/%{_libdir}/libprofile.a
%{_bindir}/%{name}
%{_libdir}/libprofile.so.*
%{_datadir}/dbus-1/services/com.nokia.profiled.service
%{_libdir}/systemd/user/profiled.service
%{_userunitdir}/profiled.service

%files doc
%defattr(-,root,root,-)
Expand Down

0 comments on commit dc350a7

Please sign in to comment.