Skip to content

Commit 206761d

Browse files
committed
Use current DMD to compile Dscanner
1 parent ffc6ec5 commit 206761d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posix.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,11 +525,11 @@ checkwhitespace: $(LIB) $(TOOLS_DIR)/checkwhitespace.d
525525
git -C ../dscanner checkout phobos
526526
git -C ../dscanner submodule update --init --recursive
527527

528-
../dscanner/dsc: ../dscanner
528+
../dscanner/dsc: ../dscanner $(DMD) $(LIB)
529529
# debug build is faster, but disable 'missing import' messages (missing core from druntime)
530530
sed 's/dparse_verbose/StdLoggerDisableWarning/' ../dscanner/makefile > dscanner_makefile_tmp
531531
mv dscanner_makefile_tmp ../dscanner/makefile
532-
make -C ../dscanner githash debug
532+
DC=$(DMD) DFLAGS="$(DFLAGS) -defaultlib=$(LIB)" make -C ../dscanner githash debug
533533

534534
style: publictests style_lint
535535

0 commit comments

Comments
 (0)