aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-07-11 14:09:17 -0400
committerPeter Zhu <peter@peterzhu.ca>2024-07-11 15:49:14 -0400
commit6fc83118bbb03c049e470cf27dbf1e87654e6942 (patch)
tree33f25405cf926f1a0e1767bad7704ee6bbc77a65 /template
parentcfaa3e9311d4b802f5d316416f13d4ec6b1ab659 (diff)
downloadruby-6fc83118bbb03c049e470cf27dbf1e87654e6942.tar.gz
Fix Makefile.in for non GNUmake
On OpenBSD the Makefile errors with: Using $< in a non-suffix rule context is a GNUmake idiom
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index fc3739b66f..e0de5f74db 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -446,8 +446,8 @@ $(srcdir)/enc/jis/props.h: enc/jis/props.kwd
fi
gc_impl.$(OBJEXT): gc/$(BUILTIN_GC).c probes.h
- @$(ECHO) compiling $<
- $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $<
+ @$(ECHO) compiling $(srcdir)/gc/$(BUILTIN_GC).c
+ $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $(srcdir)/gc/$(BUILTIN_GC).c
.c.$(OBJEXT):
@$(ECHO) compiling $<