URL:
<http://savannah.gnu.org/bugs/?49590>
Summary: wildcard no longer give sorted output in version 4.2
Project: make
Submitted by: kokapui
Submitted on: Sat 12 Nov 2016 01:05:29 AM GMT
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.2
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
The wildcard function returns sorted results in version 3.81, but it does do
the same in version 4.2. Is there any compile/runtime switch to control this
behavior? Or is it a bug?
Below shows the results from two version of GNU make.
$ ls a.mk a0.svp a1.svp a2.svp a3.svp a4.svp a5.svp a6.svp a7.svp a8.svp
a9.svp
$ cat a.mk
SRC_FILES := $(wildcard *.svp)
all: @echo $(SRC_FILES)
$ make -f a.mk all
a0.svp a1.svp a2.svp a3.svp a4.svp a5.svp a6.svp a7.svp a8.svp a9.svp
$ ~/sandbox/bin/make -f a.mk all
a0.svp a1.svp a6.svp a5.svp a9.svp a4.svp a3.svp a2.svp a7.svp a8.svp
$make –v | head -n 1
GNU Make 3.81
$ ~/sandbox/bin/make -v | head -n 1
GNU Make 4.2
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49590>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make