Ver código fonte

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).
Michael Forney 8 anos atrás
pai
commit
3ac08b98c1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Makefile

+ 1 - 1
Makefile

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