Avoid Makefile:1918: warning: overriding recipe for ...tst-ro-dynamic-mod.so
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
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(-)
Comments
On Fri, Sep 24, 2021 at 9:00 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> 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 0cdccaacb3..26986c0692 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)
>
> --
> 2.31.1
>
I am checking it in as an obvious fix.
@@ -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)