tdb: unbreak cross compilation (Hi Gottox).
This commit is contained in:
parent
835b692dff
commit
4299be1c79
2 changed files with 10 additions and 10 deletions
|
@ -1,12 +1,12 @@
|
||||||
Checking uname sysname type: OK
|
Checking uname sysname type: "Linux"
|
||||||
Checking uname machine type: OK
|
Checking uname machine type: "@@XBPS_TARGET_MACHINE@@"
|
||||||
Checking uname release type: OK
|
Checking uname release type: "ok"
|
||||||
Checking uname version type: OK
|
Checking uname version type: "ok"
|
||||||
Checking simple C program: OK
|
Checking simple C program: "ok"
|
||||||
building library support: OK
|
building library support: "ok"
|
||||||
Checking for large file support: OK
|
Checking for large file support: "ok"
|
||||||
Checking for -D_FILE_OFFSET_BITS=64: OK
|
Checking for -D_FILE_OFFSET_BITS=64: "ok"
|
||||||
Checking for WORDS_BIGENDIAN: OK
|
Checking for WORDS_BIGENDIAN: "ok"
|
||||||
Checking size of char: "1"
|
Checking size of char: "1"
|
||||||
Checking size of int: "4"
|
Checking size of int: "4"
|
||||||
Checking size of long long: "4"
|
Checking size of long long: "4"
|
||||||
|
|
|
@ -10,11 +10,11 @@ license="GPL-3"
|
||||||
homepage="http://tdb.samba.org/"
|
homepage="http://tdb.samba.org/"
|
||||||
distfiles="http://samba.org/ftp/tdb/tdb-$version.tar.gz"
|
distfiles="http://samba.org/ftp/tdb/tdb-$version.tar.gz"
|
||||||
checksum=f585cd53b49cb1f11f4c5aec404d0daa0c9bc5568790b09f5eb3b79315511729
|
checksum=f585cd53b49cb1f11f4c5aec404d0daa0c9bc5568790b09f5eb3b79315511729
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
cp ${FILESDIR}/cross-32bit.answers .
|
cp ${FILESDIR}/cross-32bit.answers .
|
||||||
|
sed -i "s,@@XBPS_TARGET_MACHINE@@,$XBPS_TARGET_MACHINE,g" cross-32bit.answers
|
||||||
_args="--cross-compile --hostcc=cc --cross-answers=cross-32bit.answers"
|
_args="--cross-compile --hostcc=cc --cross-answers=cross-32bit.answers"
|
||||||
fi
|
fi
|
||||||
./configure --prefix=/usr --disable-python ${_args}
|
./configure --prefix=/usr --disable-python ${_args}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue