summaryrefslogtreecommitdiff
path: root/Avoid-warning-overriding-recipe-for-.-tst-ro-dynamic.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-03 06:28:41 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-03 06:28:41 +0000
commitd20db0561a6a36f914fde030512503b114ef9a0c (patch)
treed4e5e3494d95c269a1cee6195f11bf3201bcadbf /Avoid-warning-overriding-recipe-for-.-tst-ro-dynamic.patch
parent016343d99b1b269d7246ef1e143d4b54914433d4 (diff)
Diffstat (limited to 'Avoid-warning-overriding-recipe-for-.-tst-ro-dynamic.patch')
-rw-r--r--Avoid-warning-overriding-recipe-for-.-tst-ro-dynamic.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/Avoid-warning-overriding-recipe-for-.-tst-ro-dynamic.patch b/Avoid-warning-overriding-recipe-for-.-tst-ro-dynamic.patch
new file mode 100644
index 0000000..60576f4
--- /dev/null
+++ b/Avoid-warning-overriding-recipe-for-.-tst-ro-dynamic.patch
@@ -0,0 +1,34 @@
+From 15e6d6785ac2935bb963506b47a37b3d1f728952 Mon Sep 17 00:00:00 2001
+From: "H.J. Lu" <hjl.tools@gmail.com>
+Date: Fri, 24 Sep 2021 08:56:42 -0700
+Subject: [PATCH] Avoid warning: overriding recipe for
+ .../tst-ro-dynamic-mod.so
+
+Add tst-ro-dynamic-mod to modules-names-nobuild to avoid
+
+../Makerules:767: warning: ignoring old recipe for target '.../elf/tst-ro-dynamic-mod.so'
+
+This updates BZ #28340 fix.
+---
+ elf/Makefile | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/elf/Makefile b/elf/Makefile
+index 0cdccaa..26986c0 100644
+--- a/elf/Makefile
++++ b/elf/Makefile
+@@ -402,8 +402,9 @@ endif
+ modules-execstack-yes = tst-execstack-mod
+ extra-test-objs += $(addsuffix .os,$(strip $(modules-names)))
+
+-# filtmod1.so, tst-big-note-lib.so have special rules.
+-modules-names-nobuild := filtmod1 tst-big-note-lib
++# filtmod1.so, tst-big-note-lib.so, tst-ro-dynamic-mod.so have special
++# rules.
++modules-names-nobuild := filtmod1 tst-big-note-lib tst-ro-dynamic-mod
+
+ tests += $(tests-static)
+
+--
+1.8.3.1
+