Set DEB_BUILD_OPTIONS to nocheck while build with loong64.

This commit is contained in:
Rewnosor 2024-07-31 11:32:44 +08:00 committed by openkylin-cibot
parent 565462be10
commit 9670088c60
2 changed files with 11 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
gpgme1.0 (1.22.0-ok5) nile; urgency=medium
* Set DEB_BUILD_OPTIONS to nocheck while build with loong64. It will make
chroot env exit abnormaly.
-- liwenjun <liwenjun@kylinos.cn> Wed, 31 Jul 2024 11:31:16 +0800
gpgme1.0 (1.22.0-ok4) nile; urgency=medium
* Fix install error.

4
debian/rules vendored
View File

@ -11,6 +11,10 @@ ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
export _PYTHON_SYSCONFIGDATA_NAME:=_sysconfigdata__${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}
endif
ifneq (,$(filter $(DEB_HOST_ARCH), loong64))
export DEB_BUILD_OPTIONS += nocheck
endif
%:
dh $@ --builddirectory=build --with python3