File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -472,6 +472,11 @@ ifeq ($(debug), no)
472472 ifeq ($(gccisclang),)
473473 CXXFLAGS += -flto
474474 LDFLAGS += $(CXXFLAGS) -flto=jobserver
475+ ifneq ($(findstring MINGW,$(KERNEL)),)
476+ LDFLAGS += -save-temps
477+ else ifneq ($(findstring MSYS,$(KERNEL)),)
478+ LDFLAGS += -save-temps
479+ endif
475480 else
476481 CXXFLAGS += -flto=thin
477482 LDFLAGS += $(CXXFLAGS)
@@ -605,7 +610,7 @@ objclean:
605610# clean auxiliary profiling files
606611profileclean :
607612 @rm -rf profdir
608- @rm -f bench.txt * .gcda * .gcno ./syzygy/* .gcda ./nnue/* .gcda ./nnue/features/* .gcda
613+ @rm -f bench.txt * .gcda * .gcno ./syzygy/* .gcda ./nnue/* .gcda ./nnue/features/* .gcda * .s
609614 @rm -f stockfish.profdata * .profraw
610615
611616default :
You can’t perform that action at this time.
0 commit comments