Skip to content

Commit

Permalink
Fix gdc-12 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladiwostok committed Oct 30, 2023
1 parent 8360dab commit 4b9cc61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ FIRST_RUN_FLAG := $(OBJ_DIR)/$(DC)/first_run.flag

$(OBJ_DIR)/$(DC)/%.o: %.d
if [ ! -f $(FIRST_RUN_FLAG) ]; then \
${DC} -run dmd/config.d bin VERSION /etc; \
if [ -ne $(DC) $(GDC) ]; then \
${DC} -run dmd/config.d bin VERSION /etc; \
else \
${DC} dmd/config.d -o config && .config bin VERSION /etc; \
fi; \
touch $(FIRST_RUN_FLAG); \
fi
${DC} ${DC_FLAGS} ${VERSIONS} ${INCLUDE_PATHS} -c $< ${WRITE_TO_TARGET_NAME}
Expand Down

0 comments on commit 4b9cc61

Please sign in to comment.