From c34406f6080ca2ee1b1847a019ca605798402275 Mon Sep 17 00:00:00 2001 From: lundi001 Date: Wed, 28 Feb 2024 08:29:24 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9rules=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 6 ++++++ debian/rules | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index ef55898..1b7047c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ldb (2:2.0.8-ok2) yangtze; urgency=medium + + * if arch == rv64g nocheck + + -- root Wed, 28 Feb 2024 08:26:14 +0000 + ldb (2:2.0.8-ok1) yangtze; urgency=medium * Build for openKylin. diff --git a/debian/rules b/debian/rules index 4b2a002..70dbff1 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +ifeq ($(DEB_HOST_ARCH),rv64g) + export DEB_BUILD_OPTIONS=nocheck +endif + CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)