Source: atlas-ecmwf
Version: 0.41.1-1
User: debian-...@lists.debian.org
Usertags: pac-bti
Tags: patch

Hi,

atlas-ecmwf currently overrides CXXFLAGS in debian/rules. Because of
that, the default CXXFLAGS set by dpkg-buildflags are ignored.

With the attached patch atlas-ecmwf builds fine and uses the
appropriate flags. This is necessary, among other things, to enable
PAC/BTI on arm64: https://wiki.debian.org/ToolChain/PACBTI

Thanks,
  Emanuele
>From 9c782b057222cd4b1da4499029ead6609013a765 Mon Sep 17 00:00:00 2001
From: Emanuele Rocca <e...@debian.org>
Date: Fri, 14 Mar 2025 11:02:37 +0000
Subject: [PATCH] Do not override CXXFLAGS

---
 debian/rules | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index eb65dd3..02bab77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,9 +27,6 @@ DEB_FFLAGS_MAINT_APPEND= -I$(FMODDIR)
 include /usr/share/dpkg/pkg-info.mk
 include /usr/share/dpkg/buildflags.mk
 
-CXXFLAGS = $(DEB_CXXFLAGS_MAINT_APPEND)
-export CXXFLAGS
-
 # Strange bug with omp.h headers and clang-tidy on some archs
 ARCH_CLANG_TIDY_OFF:= s390x mipsel
 ENABLE_CLANG_TIDY:= $(if $(filter $(DEB_TARGET_ARCH), $(ARCH_CLANG_TIDY_OFF)),Off,On)
-- 
2.47.2

Reply via email to