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