Skip to content

Commit f30abcd

Browse files
authored
Merge pull request #8417 from wilzbach/ignore-optabgen
build.d: ignore optabgen in backgend globbing
2 parents 176b82d + 2e99bd0 commit f30abcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/build.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ auto sourceFiles()
640640
// all backend files
641641
dirEntries(env["C"], "*.{c,d,h}", SpanMode.shallow)
642642
.map!(e => e.name)
643-
.filter!(e => !e.canFind("stub"))
643+
.filter!(e => !e.canFind("stub", "optabgen.c"))
644644
.chain(targetCH.only)
645645
.array,
646646
tkC:
@@ -650,7 +650,7 @@ auto sourceFiles()
650650
backendObjects:
651651
dirEntries(env["C"], "*.c", SpanMode.shallow)
652652
.map!(e => e.baseName.stripExtension)
653-
.filter!(e => !e.canFind("stub") && !e.canFind("cgcv", "cgobj", "newman"))
653+
.filter!(e => !e.canFind("stub", "optabgen", "cgcv", "cgobj", "newman"))
654654
.chain(targetObjs)
655655
.map!(a => env["G"].buildPath(a).objName)
656656
.array,

0 commit comments

Comments
 (0)