From 49dd8605bfcb9d5cec1c604017cc91c0537fc2e69230f5de5196cc2de6c1e1c8 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 29 Sep 2011 13:38:50 +0000 Subject: [PATCH] cleanup OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=15 --- libdb-4_8.spec | 2 +- libdb_java-4_8.spec | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libdb-4_8.spec b/libdb-4_8.spec index a3891ec..617d128 100644 --- a/libdb-4_8.spec +++ b/libdb-4_8.spec @@ -107,7 +107,7 @@ 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 diff --git a/libdb_java-4_8.spec b/libdb_java-4_8.spec index 1583577..895b469 100644 --- a/libdb_java-4_8.spec +++ b/libdb_java-4_8.spec @@ -79,7 +79,11 @@ cd ../build_nptl --enable-shared --disable-static --enable-cxx \ --with-mutex="POSIX/pthreads/library" \ --enable-java JAVACFLAGS="-source 1.5 -target 1.5" \ +%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