mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
build: don't use '$<' in non-suffix rules
* src/local.mk (src/speedlist.h): Use the file name instead of '$<' which is not supported by OpenBSD make.
This commit is contained in:
1 parent
a7c63296c1
commit
72d483dab7
1 file changed
+2
-1
+2
-1
@@ -717,7 +717,8 @@ src/speedlist.h: src/termios.c lib/config.h src/speedgen
|
||||
$(AM_V_GEN)rm -f $@
|
||||
$(AM_V_at)${MKDIR_P} src
|
||||
$(AM_V_at)( for opt in $(getmacopts); do \
|
||||
$(COMPILE) -E $$opt $< 2>&1 && break; \
|
||||
$(COMPILE) -E $(srcdir)/src/termios.c src 2>&1 \
|
||||
&& break; \
|
||||
done ) | $(SHELL) $(srcdir)/src/speedgen $@t
|
||||
$(AM_V_at)chmod a-w $@t
|
||||
$(AM_V_at)mv $@t $@
|
||||
|
||||
Reference in new issue
Block a user