SHA256
1
0
forked from pool/libdb-4_8

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
This commit is contained in:
Ismail Dönmez 2011-09-28 19:13:51 +00:00 committed by Git OBS Bridge
parent a851fcf0ca
commit b02c73a193
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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