Skip to content

Commit

Permalink
Fixed missing dependancy of template-run to lib
Browse files Browse the repository at this point in the history
This caused the compilation of template-run to start before the library
was compiled in multithreaded mode, leading to strange "undefined
references" errors when compiling the fedora package with multiple
threads.
  • Loading branch information
roadelou committed Nov 28, 2021
1 parent 53faa17 commit 66423f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exec/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ $(EXEC_TEMPLATE_ELF): $(EXEC_TEMPLATE_OBJ) $(TEMPLATE_LIB) | $(EXEC_BUILD_DIR)
$(EXEC_TEMPLATE_RUN_OBJ): $(EXEC_TEMPLATE_RUN_SRC) $(EXEC_TEMPLATE_RUN_HEAD) | $(EXEC_BUILD_DIR)
$(CC) $(C_FLAGS) -c -o $(EXEC_TEMPLATE_RUN_OBJ) $(EXEC_TEMPLATE_RUN_SRC)

$(EXEC_TEMPLATE_RUN_ELF): $(EXEC_TEMPLATE_RUN_OBJ) $(UTIL_OBJ) $(FORMAT_OBJ) | $(EXEC_BUILD_DIR)
$(EXEC_TEMPLATE_RUN_ELF): $(EXEC_TEMPLATE_RUN_OBJ) $(TEMPLATE_LIB) | $(EXEC_BUILD_DIR)
#
# Compiling template-run.elf
#
Expand Down

0 comments on commit 66423f9

Please sign in to comment.