Source: protobuf
Version: 3.21.12-7
Severity: normal
Tags: patch
Usertags: loongarch64
X-Debbugs-Cc: sangm...@loongson.cn

Dear Maintainer,

The addition of 'loong64' enables specific build options for loongarch64.

Thank you for your time and consideration.

Best regards,
Meng Sang
>From 2c9d658af623c3454f46d5b999807fd24b51566d Mon Sep 17 00:00:00 2001
From: Meng Sang <sangm...@loongson.cn>
Date: Thu, 21 Sep 2023 07:36:56 +0000
Subject: [PATCH] Added 'loong64' to enable specific build options

---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 200ff5b..52b3953 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
 Build-Depends:
 # Debian build system
    debhelper-compat (= 13)
- , dh-elpa [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x hppa 
ppc64 riscv64 sh4 sparc64 x32]
+ , dh-elpa [amd64 arm64 armel armhf i386 loong64 mips64el mipsel ppc64el s390x 
hppa ppc64 riscv64 sh4 sparc64 x32]
 # C/C++
  , zlib1g-dev
  , libgmock-dev <!nocheck>
diff --git a/debian/rules b/debian/rules
index a547755..ee54fe3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ SONAME=32
 API_VERSION=$(SONAME)-0
 
 %:
-ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el 
mipsel ppc64el s390x hppa ppc64 riscv64 sh4 sparc64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 loong64 
mips64el mipsel ppc64el s390x hppa ppc64 riscv64 sh4 sparc64 x32))
        dh $@ --with autoreconf,elpa
 else
        dh $@ --with autoreconf -Nelpa-protobuf-mode
-- 
2.40.1

Reply via email to