Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Helmut Grohne
Mon, 26 Oct 2026 20:20
Bug#1152205: objcrypt-fox FTCBFS: passes host flags to the build compiler
Author: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
37 lines
3168 bytes
3168 bytes
--6CtWkCgu8cIYmP39
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Source: objcryst-fox
Version: 2022.1-2
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
objcrypt-fox fails to cross build from source, because it passes host
compiler flags to the build compiler. As a result, cross builds for
amd64 and arm64 fail. The relevant invocation is actually hidden from
the verbose build log. It happens via MAKEDEPEND where "gcc" is hard
coded. I'm attaching a patch to also make this substitutable. Please
consider applying it and forwarding it upstream.
Helmut
--6CtWkCgu8cIYmP39
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="cross.patch"
--- objcryst-fox-2022.1.orig/ObjCryst/rules-gnu.mak
+++ objcryst-fox-2022.1/ObjCryst/rules-gnu.mak
@@ -41,7 +41,7 @@
CRYST_LDFLAGS = ${LDFLAGS} -L/usr/lib -L/usr/local/lib -L$(DIR_CRYSTVECTOR) -L$(DIR_LIBCRYST) -L$(DIR_REFOBJ) -L$(DIR_STATIC_LIBS)/lib -L$(DIR_VFNQUIRKS) -L$(DIR_WXWCRYST) -L$(DIR_TAU)/x86_64/lib
#to automatically generate dependencies
-MAKEDEPEND = gcc -MM ${CPPFLAGS} ${CXXFLAGS} ${C_BLITZFLAG} $< > $*.dep
+MAKEDEPEND = $(CC) -MM ${CPPFLAGS} ${CXXFLAGS} ${C_BLITZFLAG} $< > $*.dep
# header files
SEARCHDIRS = -I$(DIR_TAU)/include -I${DIR_CRYST}/.. -I$(DIR_STATIC_LIBS)/include
--6CtWkCgu8cIYmP39--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads