From f9ac773c5035e80f6d3d23fe9c757b6aa872baf0 Mon Sep 17 00:00:00 2001 From: jjh Date: Tue, 10 Jul 2007 09:49:51 +0000 Subject: [PATCH] work around bug #239003 --- libtomcrypt.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libtomcrypt.spec b/libtomcrypt.spec index 8ef581c..d5dc7fd 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -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 - 1.17-6 +- turn off optimization for ppc64 to work around Bug #239003 + * Sat Jun 30 2007 Jeremy Hinegardner - 1.17-5 - removed package name from summary - fixed URL and Source0 links