Skip to content

Commit 53ffcae

Browse files
committed
[GR-17457] Fix build failure when using an existing checkout where src/main/c/cext/wrappers.c exists
PullRequest: truffleruby/4576
2 parents e805fbb + e55bccf commit 53ffcae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/c/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ clean_cexts:
6262
$(Q) rm -f rbs/Makefile rbs/*.o rbs/rbs_extension.$(DLEXT)
6363

6464
# cext-trampoline
65+
# Remove cext/wrappers.c explicitly, as it was a generated file and so `git pull` does not remove it
6566
cext-trampoline/trampoline.c: $(CEXT_C_FILES) $(BASIC_DEPS) $(ROOT)/tool/generate-cext-trampoline.rb
67+
$(Q) rm -f cext/wrappers.c
6668
$(Q) cd $(ROOT) && $(RUBY) tool/generate-cext-trampoline.rb
6769

6870
$(TRAMPOLINE): cext-trampoline/Makefile cext-trampoline/trampoline.c cext-trampoline/*.c Makefile

0 commit comments

Comments
 (0)