Source: noiz2sa Version: 0.51a-10.1 Tags: patch User: [email protected] Usertags: rebootstrap
noiz2sa fails to cross build from source, because it does not pass cross tools to make. Using dh_auto_build mostly fixes that except for one folder where the C++ compiler is needed in the LD variable. The attached patch mkaes noiz2sa cross buildable. Please consider applying it. Helmut
diff -u noiz2sa-0.51a/debian/changelog noiz2sa-0.51a/debian/changelog --- noiz2sa-0.51a/debian/changelog +++ noiz2sa-0.51a/debian/changelog @@ -1,3 +1,12 @@ +noiz2sa (0.51a-10.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + Additionally supply the C++ compiler as LD. + + -- Helmut Grohne <[email protected]> Sun, 03 Mar 2019 11:45:37 +0100 + noiz2sa (0.51a-10.1) unstable; urgency=medium * Non-maintainer upload. diff -u noiz2sa-0.51a/debian/rules noiz2sa-0.51a/debian/rules --- noiz2sa-0.51a/debian/rules +++ noiz2sa-0.51a/debian/rules @@ -17,9 +17,9 @@ build-stamp: configure-stamp dh_testdir - RELEASE_CFLAGS="$(CFLAGS)" $(MAKE) -C src/bulletml/tinyxml - CXXFLAGS="$(CXXFLAGS)" $(MAKE) -C src/bulletml - CXXFLAGS="$(CXXFLAGS)" MORE_CFLAGS="$(LDFLAGS)" $(MAKE) -C src + RELEASE_CFLAGS="$(CFLAGS)" dh_auto_build --sourcedirectory=src/bulletml/tinyxml -- 'LD=$$(CXX)' + CXXFLAGS="$(CXXFLAGS)" dh_auto_build --sourcedirectory=src/bulletml + CXXFLAGS="$(CXXFLAGS)" MORE_CFLAGS="$(LDFLAGS)" dh_auto_build --sourcedirectory=src touch build-stamp clean:

