Don't pass MAKEFLAGS to $(MAKE)
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Fri, 26 Jul 2019 08:49:11 +0000 (10:49 +0200)
committerJochen Sprickerhof <jspricke@debian.org>
Tue, 21 Apr 2020 17:40:57 +0000 (18:40 +0100)
make will pass them automatically. Also they are not meant to be
consumed by make as they are stripped:

Thus, if you do ‘make -ks’ then MAKEFLAGS gets the value ‘ks’.

https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html

Gbp-Pq: Name 0009-Don-t-pass-MAKEFLAGS-to-MAKE.patch

Makefile.in

index f6c341f4b8e16f49fb4d9023e22690108a0642e0..f376e4637bc349981c7ad39b2bf74a622159b958 100644 (file)
@@ -382,17 +382,17 @@ rpm: changes.html
        tools/mkrpm $(WEB) $(VERSD) $(RELEASE)
 
 gui: gpsbabel$(EXEEXT)
-       cd gui ; $(QMAKE) app.pro && $(MAKE) $(MAKEFLAGS)
+       cd gui ; $(QMAKE) app.pro && $(MAKE)
 
 linux-gui: gui
-       cd gui; $(MAKE) $(MAKEFLAGS) package
+       cd gui; $(MAKE) package
 
 # Build the Qt front end, place GPSBabel in the right place, deploy all
 # the libs.
 
 mac-gui: gui
        rm -f gui/GPSBabelFE.dmg
-       cd gui; $(MAKE) $(MAKEFLAGS) package
+       cd gui; $(MAKE) package
        mv gui/GPSBabelFE.dmg  gui/GPSBabel-$(VERSIOND).dmg
 
 # release check using CVS tree