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:
parent
a851fcf0ca
commit
b02c73a193
@ -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
|
Tue Sep 27 16:39:10 UTC 2011 - prusnak@opensuse.org
|
||||||
|
|
||||||
|
@ -107,8 +107,12 @@ cd ../build_nptl
|
|||||||
../dist/configure --prefix=%{_prefix} \
|
../dist/configure --prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} --enable-compat185 --disable-dump185 \
|
--libdir=%{_libdir} --enable-compat185 --disable-dump185 \
|
||||||
--enable-shared --disable-static --enable-cxx \
|
--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
|
%{_target_cpu}-suse-linux
|
||||||
|
%endif
|
||||||
# Make sure O_DIRECT is really disabled (build host could have old kernel)
|
# 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
|
perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' db_config.h
|
||||||
# Remove libtool predep_objects and postdep_objects wonkiness
|
# Remove libtool predep_objects and postdep_objects wonkiness
|
||||||
|
Loading…
x
Reference in New Issue
Block a user