diff --git a/libhugetlbfs.changes b/libhugetlbfs.changes index 11a08f8..5cfddb4 100644 --- a/libhugetlbfs.changes +++ b/libhugetlbfs.changes @@ -3,6 +3,11 @@ Tue Feb 9 09:29:27 UTC 2010 - trenn@novell.com - 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 diff --git a/libhugetlbfs.spec b/libhugetlbfs.spec index 57fd037..4d2e21d 100644 --- a/libhugetlbfs.spec +++ b/libhugetlbfs.spec @@ -77,7 +77,11 @@ tests= %ifarch ppc ppc64 %ix86 x86_64 tests=install-tests %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 cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a