7 Star 1 Fork 13

src-openEuler/nfs4-acl-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-Fix-infinite-loop-when-perl-is-added-in-BEP_FILE_TIM.patch 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
From bee9daf0008cb7b7b7516090e60a8f52b7d214d7 Mon Sep 17 00:00:00 2001
From: Wenchao Hao <[email protected]>
Date: Wed, 1 Dec 2021 11:10:06 +0800
Subject: [PATCH] Fix infinite loop when perl is added in BEP_FILE_TIME_LIST
Makefile specify a rules like following:
configure include/builddefs include/config.h: aclocal.m4
autoconf
./configure \
...
Normally, this rule would run recipe for target configure first, and the
include/builddefs and include/config.h would be generated in this target.
While once perl is added in BEP_FILE_TIME_LIST, this rule run recipe for target
include/builddefs first and cause a infinite loop.
To fix this issue, splict previous recipe as following to explictly tell make
run configure first
include/builddefs: configure
include/config.h: configure
configure: aclocal.m4
autoconf \
./configure \
...
Signed-off-by: Wenchao Hao <[email protected]>
Signed-off-by: volcanodragon <[email protected]>
---
Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5302e11..fa3d93b 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,10 @@ else
clean: # if configure hasn't run, nothing to clean
endif
-$(CONFIGURE): aclocal.m4
+include/builddefs: configure
+include/config.h: configure
+
+configure: aclocal.m4
autoconf
./configure \
--prefix=/ \
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/nfs4-acl-tools.git
[email protected]:src-openeuler/nfs4-acl-tools.git
src-openeuler
nfs4-acl-tools
nfs4-acl-tools
master

搜索帮助