Source: mccs
Version: 1:1.1-8
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

mccs fails to cross build from source, because the upstream makefile
uses a non-standard compiler variable that debhelper doesn't know how to
substitute. The CCC variable in mccs is not just used for the compiler,
but also includes flags. It defaults to using g++. Please consider using
CXX there such that the standard variable can be used to replace the
compiler without discarding flags. Doing so makes mccs cross buildable.
Please consider applying the attached patch.

Helmut
--- mccs-1.1.orig/make.local
+++ mccs-1.1/make.local
@@ -108,6 +108,6 @@
 INC=-I$(OBJDIR) -I$(SRCDIR) -I$(SRCLIB)
 #CCCOPT=-g -Wall
 CCCOPT=-Wall -O6
-CCC=g++ $(CCCOPT) $(LDFLAGS)
+CCC=$(CXX) $(CCCOPT) $(LDFLAGS)
 
 

Reply via email to