[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1059392: eboard FTCBFS: builds for the build architecture



Source: eboard
Version: 1.1.3-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

eboard fails to cross build from source, because it uses the build
architecture compiler as a make default. Consider applying the attached
patch to let dpkg's buildtools.mk initialize CC correctly for cross
compilation.

Helmut
diff --minimal -Nru eboard-1.1.3/debian/changelog eboard-1.1.3/debian/changelog
--- eboard-1.1.3/debian/changelog	2023-09-04 20:21:10.000000000 +0200
+++ eboard-1.1.3/debian/changelog	2023-12-22 11:19:12.000000000 +0100
@@ -1,3 +1,9 @@
+eboard (1.1.3-3) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dpkg's buildtools.mk initialize CC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 22 Dec 2023 11:19:12 +0100
+
 eboard (1.1.3-2) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru eboard-1.1.3/debian/rules eboard-1.1.3/debian/rules
--- eboard-1.1.3/debian/rules	2023-09-04 20:21:10.000000000 +0200
+++ eboard-1.1.3/debian/rules	2023-12-22 11:19:12.000000000 +0100
@@ -2,6 +2,7 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+-include /usr/share/dpkg/buildtools.mk
 include /usr/share/dpkg/buildflags.mk
 
 %:

Reply to: