diff --git a/libtomcrypt.spec b/libtomcrypt.spec index fef2ae3..8ef581c 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -43,18 +43,11 @@ 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" -make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile docs -make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared || : %ifarch ppc64 -for i in $(find /tmp -name 'cc*.out') -do - echo $i - wc -l $i - cat $i -done -exit 1 +export CFLAGS="$CFLAGS -O0" %endif - +make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile docs +make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared || : %check