Source: rootskel Version: 1.131 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
rootskel fails to cross build from source, because some Makefile hard codes plain gcc. After making it substitutable, rootskel cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru rootskel-1.131/debian/changelog rootskel-1.131+nmu1/debian/changelog --- rootskel-1.131/debian/changelog 2019-06-13 21:28:44.000000000 +0200 +++ rootskel-1.131+nmu1/debian/changelog 2019-06-23 19:50:43.000000000 +0200 @@ -1,3 +1,10 @@ +rootskel (1.131+nmu1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Make gcc substitutable. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 23 Jun 2019 19:50:43 +0200 + rootskel (1.131) unstable; urgency=medium * Team upload diff --minimal -Nru rootskel-1.131/src/sbin/Makefile rootskel-1.131+nmu1/src/sbin/Makefile --- rootskel-1.131/src/sbin/Makefile 2013-09-19 02:08:24.000000000 +0200 +++ rootskel-1.131+nmu1/src/sbin/Makefile 2019-06-23 19:50:30.000000000 +0200 @@ -18,13 +18,13 @@ endif console-type: console-type.c - gcc -Os -Wall console-type.c -o console-type + $(CC) -Os -Wall console-type.c -o console-type get-real-console-linux: - gcc -Os -Wall get-real-console-linux.c -o get-real-console-linux + $(CC) -Os -Wall get-real-console-linux.c -o get-real-console-linux steal-ctty: steal-ctty.c - gcc -Os -Wall steal-ctty.c -o steal-ctty + $(CC) -Os -Wall steal-ctty.c -o steal-ctty ifeq ($(DEB_HOST_ARCH_OS),linux) build: console-type get-real-console-linux steal-ctty