Accepting request 32052 from home:jengelh:sparc

Copy from home:jengelh:sparc/libhugetlbfs via accept of submit request 32052 revision 3.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/32052
OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=10
This commit is contained in:
Pavol Rusnak 2010-02-11 00:59:04 +00:00 committed by Git OBS Bridge
parent ae6bad77e8
commit 5916325607
2 changed files with 10 additions and 1 deletions

View File

@ -3,6 +3,11 @@ Tue Feb 9 09:29:27 UTC 2010 - trenn@novell.com
- Removed unused files - Removed unused files
-------------------------------------------------------------------
Mon Feb 8 22:48:44 UTC 2010 - jengelh@medozas.de
- add workarounds for broken Makefile logic to detect arch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 1 11:35:48 UTC 2010 - jengelh@medozas.de Mon Feb 1 11:35:48 UTC 2010 - jengelh@medozas.de

View File

@ -77,7 +77,11 @@ tests=
%ifarch ppc ppc64 %ix86 x86_64 %ifarch ppc ppc64 %ix86 x86_64
tests=install-tests tests=install-tests
%endif %endif
make %{my_make_flags} install $tests make \
%ifarch sparc sparcv9
CC32="gcc" CC64="" NATIVEONLY=1 \
%endif
%{my_make_flags} install $tests
mkdir -p $RPM_BUILD_ROOT/usr/include mkdir -p $RPM_BUILD_ROOT/usr/include
cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include
chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a