!1 rv64g架构 编译报错 libc6-dev 升级2.36后 test报错

Merge pull request !1 from lundi001/openkylin/yangtze
This commit is contained in:
luoyaoming 2024-02-28 09:12:15 +00:00 committed by Gitee
commit a27053da8a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ldb (2:2.0.8-ok2) yangtze; urgency=medium
* if arch == rv64g nocheck
-- root <zhouningyi@smart-core.cn> Wed, 28 Feb 2024 08:26:14 +0000
ldb (2:2.0.8-ok1) yangtze; urgency=medium ldb (2:2.0.8-ok1) yangtze; urgency=medium
* Build for openKylin. * Build for openKylin.

4
debian/rules vendored
View File

@ -3,6 +3,10 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed 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) CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)