diff --git a/libdb-4_8.changes b/libdb-4_8.changes index 8003070..4f1c78b 100644 --- a/libdb-4_8.changes +++ b/libdb-4_8.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 28 18:46:43 UTC 2011 - adrian@suse.de + +- fix arm build + ------------------------------------------------------------------- Tue Sep 27 16:39:10 UTC 2011 - prusnak@opensuse.org diff --git a/libdb-4_8.spec b/libdb-4_8.spec index 2025d5b..a3891ec 100644 --- a/libdb-4_8.spec +++ b/libdb-4_8.spec @@ -107,8 +107,12 @@ cd ../build_nptl ../dist/configure --prefix=%{_prefix} \ --libdir=%{_libdir} --enable-compat185 --disable-dump185 \ --enable-shared --disable-static --enable-cxx \ - --with-mutex="POSIX/pthreads/library" \ + --with-mutex="POSIX/pthreads/library" \ +%ifarch %arm + %{_target_cpu}-suse-linux-gnueabi +%else %{_target_cpu}-suse-linux +%endif # Make sure O_DIRECT is really disabled (build host could have old kernel) perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' db_config.h # Remove libtool predep_objects and postdep_objects wonkiness