From b02c73a1937b990e1850c96c3bffc3f331861b19c5735d775a292d3f41e64ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 28 Sep 2011 19:13:51 +0000 Subject: [PATCH] Accepting request 85347 from Base:build:arm fix arm build OBS-URL: https://build.opensuse.org/request/show/85347 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=14 --- libdb-4_8.changes | 5 +++++ libdb-4_8.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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