work around bug #239003

epel9
jjh 18 years ago
parent 186ac9e7b3
commit f9ac773c50

@ -43,11 +43,12 @@ developing applications that use %{name}.
# no configure script ships with libtomcrypt. Its only requirement is
# ANSI C. And libtommath. Explicitly force it to be built against libtommath
export CFLAGS="$RPM_OPT_FLAGS -DLTM_DESC -I%{_includedir}/tommath"
# work around bug #239003
%ifarch ppc64
export CFLAGS="$CFLAGS -O0"
%endif
make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared
make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile docs
make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared || :
%check
@ -94,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%changelog
* Tue Jul 10 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 1.17-6
- turn off optimization for ppc64 to work around Bug #239003
* Sat Jun 30 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 1.17-5
- removed package name from summary
- fixed URL and Source0 links

Loading…
Cancel
Save