添加rv64g架构判断if arch == rv64g nocheck

This commit is contained in:
jyr 2024-02-29 07:38:29 +00:00
parent fe5bd894ea
commit 4cb7460e92
2 changed files with 9 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
keyutils (1.6-ok3) yangtze; urgency=medium
* if arch == rv64g nocheck
-- root <jingyaru@smart-core.cn> Thu, 29 Feb 2024 07:36:56 +0000
keyutils (1.6-ok2) yangtze; urgency=medium keyutils (1.6-ok2) yangtze; urgency=medium
* update version info * update version info

3
debian/rules vendored
View File

@ -5,6 +5,9 @@ CHANGEDATE = $(shell date -u -d @$(SOURCE_DATE_EPOCH) +%F)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifeq ($(DEB_HOST_ARCH),rv64g)
export DEB_BUILD_OPTIONS=nocheck
endif
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)