diff --git a/libldb.spec b/libldb.spec index 3de9f71..3bf4161 100644 --- a/libldb.spec +++ b/libldb.spec @@ -1,6 +1,10 @@ # lmdb is not supported on 32 bit architectures %if ((0%{?fedora} || 0%{?epel} > 6) && 0%{?__isa_bits} == 64) +%ifarch ppc64le +%global without_lmdb_flags --without-ldb-lmdb +%else %global with_lmdb 1 +%endif %else %global without_lmdb_flags --without-ldb-lmdb %endif