Don't pass -- to printf

POSIX says that printf has no options and doesn't have to conform to the
utility syntax guidelines (which include -- handling).
This commit is contained in:
Michael Forney 2016-12-01 23:07:03 -08:00
parent f00b09f654
commit f39a28b7a9
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ $(BUILD_DIR)/Makefile: | $(BUILD_DIR)
ln -sf ../litecross/Makefile $@ ln -sf ../litecross/Makefile $@
$(BUILD_DIR)/config.mak: | $(BUILD_DIR) $(BUILD_DIR)/config.mak: | $(BUILD_DIR)
printf >$@ -- '%s\n' \ printf >$@ '%s\n' \
"MUSL_SRCDIR = ../musl-$(MUSL_VER)" \ "MUSL_SRCDIR = ../musl-$(MUSL_VER)" \
"GCC_SRCDIR = ../gcc-$(GCC_VER)" \ "GCC_SRCDIR = ../gcc-$(GCC_VER)" \
"BINUTILS_SRCDIR = ../binutils-$(BINUTILS_VER)" \ "BINUTILS_SRCDIR = ../binutils-$(BINUTILS_VER)" \