mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 05:46:27 +00:00
improve the declaration
This commit is contained in:
parent
782faad42c
commit
bccf0f1da0
3
debian/rules
vendored
3
debian/rules
vendored
@ -10,6 +10,9 @@ GCC_VERSION := $(subst /usr/bin/g++-,,$(GXX_VERSIONED_EXECUTABLE))
|
|||||||
LLVM_VERSION := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9]+).([0-9]+).*,\1.\2,p"
|
LLVM_VERSION := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9]+).([0-9]+).*,\1.\2,p"
|
||||||
)
|
)
|
||||||
LLVM_VERSION_FULL := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9.]+)(~|-)(.*),\1,p")
|
LLVM_VERSION_FULL := $(shell dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9.]+)(~|-)(.*),\1,p")
|
||||||
|
ifeq ($(LLVM_VERSION),$(LLVM_VERSION_FULL))
|
||||||
|
LLVM_VERSION_FULL := $(LLVM_VERSION).0
|
||||||
|
endif
|
||||||
|
|
||||||
SONAME_EXT := 1
|
SONAME_EXT := 1
|
||||||
# Manage the case when the version is 1:3.5~svn213052-1~exp1 or 1:3.4.2-1
|
# Manage the case when the version is 1:3.5~svn213052-1~exp1 or 1:3.4.2-1
|
||||||
|
Loading…
Reference in New Issue
Block a user