Skip to content

Commit

Permalink
Fix GDC config in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladiwostok committed Nov 5, 2023
1 parent 3f2f7a2 commit 619b093
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ FIRST_RUN_FLAG := $(OBJ_DIR)/$(DC)/first_run.flag

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

0 comments on commit 619b093

Please sign in to comment.