mirror of https://gitee.com/openkylin/z3.git
增加架构判断
This commit is contained in:
parent
fd95bb3b66
commit
cc43338131
|
@ -1,3 +1,9 @@
|
|||
z3 (4.8.7-ok2) yangtze; urgency=medium
|
||||
|
||||
*if arch == rv64g export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -Wl,-latomic -Wl,--as-needed
|
||||
|
||||
-- root <zhouningyi@smart-core.cn> Thu, 14 Mar 2024 07:36:38 +0000
|
||||
|
||||
z3 (4.8.7-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_CXXFLAGS_MAINT_APPEND = -fPIC
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH),rv64g)
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -Wl,-latomic -Wl,--as-needed
|
||||
endif
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
ifneq (,$(shell dh_listpackages -a | grep libz3-jni))
|
||||
|
|
Loading…
Reference in New Issue