Skip to content

Commit

Permalink
Fix shared object compiling with position-dependent code
Browse files Browse the repository at this point in the history
  • Loading branch information
penguin-teal committed Dec 29, 2023
1 parent 34b1f2a commit cfd12a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static: $(OUT)

$(SO_OBJ)/%.o: $(SRC)/%.c
$(MKDIR) $(SO_OBJ)
$(CC) $(SO_CFLAGS) $(RELEASECFLAGS) -I$(INCLUDE) -c $^ -o $@
$(CC) $(SO_C_FLAGS) $(RELEASECFLAGS) -I$(INCLUDE) -c $^ -o $@

$(SO_OUT): $(SO_OBJS)
mkdir -p -- $(BIN)
Expand Down

0 comments on commit cfd12a8

Please sign in to comment.