From f14bee7e2e8499eebfa61fd0fbea3a887b1f7c76 Mon Sep 17 00:00:00 2001 From: Chang Yang Date: Thu, 26 Dec 2024 10:11:32 +0800 Subject: [PATCH] feat: fix gcc version detection --- debian/changelog | 6 ++++++ debian/rules | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4b3dc330..dd11cbbc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +boost1.83 (1.83.0-4deepin1) unstable; urgency=medium + + * fix gcc version detection + + -- Chang Yang Thu, 26 Dec 2024 10:11:17 +0800 + boost1.83 (1.83.0-4) unstable; urgency=medium [ Samuel Thibault ] diff --git a/debian/rules b/debian/rules index 871942ea..56d8078f 100755 --- a/debian/rules +++ b/debian/rules @@ -320,7 +320,7 @@ ifeq ($(BUILD_NUMPY), yes) endif override_dh_gencontrol: - dh_gencontrol -- -V'gxx:major=$(shell dpkg-query -f '$${version}' -W g++ | sed 's/.*://;s/\..*//')' + dh_gencontrol -- -V'gxx:major=$(shell g++ -dumpversion)' $(b2): cd tools/build && bison -y -d -o src/engine/jamgram.cpp src/engine/jamgram.y