Skip to content
代码片段 群组 项目
提交 c88913e5 编辑于 作者: Fabrice Fontaine's avatar Fabrice Fontaine 提交者: Thiago Macieira
浏览文件

Fix compilation error due to file descriptor

In Makefile, the file descriptor 10 is used to redirect input to .config:
$(MAKE) -f $(SRCDIR)Makefile.configure OUT='>&10' configure 10> $@

This patch replaces this file descriptor from to 10 to 9 as
"Redirections using file descriptors greater than 9 should be used with
care, as they may conflict with file descriptors the shell uses
internally."
(cf. https://www.gnu.org/software/bash/manual/html_node/Redirections.html

)

Signed-off-by: default avatarFabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: default avatarThiago Macieira <thiago.macieira@intel.com>
上级 f775cf5b
No related branches found
No related tags found
无相关合并请求
...@@ -93,7 +93,7 @@ silentcheck: | lib/libtinycbor.a ...@@ -93,7 +93,7 @@ silentcheck: | lib/libtinycbor.a
TESTARGS=-silent $(MAKE) -f $(MAKEFILE) -s check TESTARGS=-silent $(MAKE) -f $(MAKEFILE) -s check
configure: .config configure: .config
.config: Makefile.configure .config: Makefile.configure
$(MAKE) -f $(SRCDIR)Makefile.configure OUT='>&10' configure 10> $@ $(MAKE) -f $(SRCDIR)Makefile.configure OUT='>&9' configure 9> $@
lib bin: lib bin:
$(MKDIR) $@ $(MKDIR) $@
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册