Accepting request 212242 from security

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/212242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=61
This commit is contained in:
Stephan Kulow 2013-12-30 08:49:51 +00:00 committed by Git OBS Bridge
commit 3efa592759
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Dec 15 16:03:46 UTC 2013 - uweigand@de.ibm.com
- fix build failures on ppc64le:
* fanotify is only supported on x86 platforms
* building tomsfastmath on (non-x86) 64-bit platforms requires -DFP_64BIT
-------------------------------------------------------------------
Sat Sep 28 07:35:34 UTC 2013 - meissner@suse.com

View File

@ -96,6 +96,10 @@ export CXXFLAGS="%optflags $CXXFLAGS"
# SLES9 needs this macro to enable the quarantine feature in libmilter
CFLAGS="$CFLAGS -D_FFR_QUARANTINE -D_FFR_SMFI_OPENSOCKET"
%endif
%ifarch ppc64 ppc64le
# tomsfastmath needs this for correct operation on 64-bit platforms
CFLAGS="$CFLAGS -DFP_64BIT"
%endif
./configure \
--prefix=%_prefix \
--libdir=%_libdir \
@ -109,6 +113,9 @@ CFLAGS="$CFLAGS -D_FFR_QUARANTINE -D_FFR_SMFI_OPENSOCKET"
--enable-milter \
%clamav_check \
%llvm \
%ifnarch %ix86 x86_64
--disable-fanotify \
%endif
--disable-zlib-vcheck \
--enable-clamdtop \
--disable-timestamps