Add abi=+time64,+lfs only on 64bits system

This commit is contained in:
Sylvestre Ledru 2024-02-11 14:29:38 +01:00
parent 1bce57bd9d
commit 74834881c5
2 changed files with 12 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-18 (1:18.1.0~rc2-3) unstable; urgency=medium
* Add abi=+time64,+lfs only on 64bits system
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 11 Feb 2024 14:29:31 +0100
llvm-toolchain-18 (1:18.1.0~rc2-2) unstable; urgency=medium llvm-toolchain-18 (1:18.1.0~rc2-2) unstable; urgency=medium
[ Gianfranco Costamagna ] [ Gianfranco Costamagna ]

7
debian/rules vendored
View File

@ -66,7 +66,12 @@ CONFIGURE_EXTRA =
# dpkg-buildflags support # dpkg-buildflags support
# disable fixfilepath in favor of the llvm-project supplied flavor, disable lto # disable fixfilepath in favor of the llvm-project supplied flavor, disable lto
# remove +time64,+lfs once the time64_t transition starts # remove +time64,+lfs once the time64_t transition starts
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto abi=+time64,+lfs export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto
ifeq ($(DEB_BUILD_ARCH_BITS),64)
export DEB_BUILD_MAINT_OPTIONS += abi=+time64,+lfs
endif
# these are handled on a per stage / build basis # these are handled on a per stage / build basis
ifeq ($(VENDOR)-$(DEB_HOST_ARCH),Ubuntu-ppc64el) ifeq ($(VENDOR)-$(DEB_HOST_ARCH),Ubuntu-ppc64el)