Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu
Modifications :
-
--- 1.22-3/debian/control 2019-07-23 17:01:52.000000000 +0000
+++ 1.22-3ubuntu2/debian/control 2019-12-06 17:34:02.000000000 +0000
@@ -1,7 +1,8 @@
Source: leveldb
Section: database
Priority: optional
-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Uploaders: Alessio Treglia <alessio@debian.org>
Build-Depends:
debhelper (>= 11),
-
--- 1.22-3/debian/tests/build 2015-04-28 06:58:17.000000000 +0000
+++ 1.22-3ubuntu2/debian/tests/build 2019-12-06 17:33:52.000000000 +0000
@@ -8,6 +8,11 @@ set -e
WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR
+
+if [ -n "$DEB_HOST_MULTIARCH" ]; then
+ CROSS_COMPILE="$DEB_HOST_GNU_TYPE-"
+fi
+
cat <<EOF > build_test.cpp
#include <iostream>
#include <sstream>
@@ -57,7 +62,7 @@ int main(int argc, char **argv)
}
EOF
-g++ -o build_test build_test.cpp -pthread -lleveldb -lsnappy
+${CROSS_COMPILE}g++ -o build_test build_test.cpp -pthread -lleveldb -lsnappy
echo "build: OK"
[ -x build_test ]
./build_test