Closed paaguti closed 2 years ago
Patching always needs an order. Since some time ago, GNU make doesn't make any assumptions on the order of file names returned by $(wildcard ...) (see discussion in https://stackoverflow.com/questions/40558385/gnu-make-wildcard-no-longer-gives-sorted-output-is-there-any-control-switch)
I propose to assure the patch order by 1.- using the suggestion made by the GNU team in http://git.savannah.gnu.org/cgit/make.git/tree/NEWS (comment is from 2010):
$(sort $(wildcard ....))
2.- using a 2/3 digit prefix in the patches to assure the order
Patching always needs an order. Since some time ago, GNU make doesn't make any assumptions on the order of file names returned by $(wildcard ...) (see discussion in https://stackoverflow.com/questions/40558385/gnu-make-wildcard-no-longer-gives-sorted-output-is-there-any-control-switch)
I propose to assure the patch order by 1.- using the suggestion made by the GNU team in http://git.savannah.gnu.org/cgit/make.git/tree/NEWS (comment is from 2010):
$(sort $(wildcard ....))
2.- using a 2/3 digit prefix in the patches to assure the order