Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNU make 4.4 complains about rules. #1984

Open
jwillemsen opened this issue Nov 30, 2022 · 2 comments
Open

GNU make 4.4 complains about rules. #1984

jwillemsen opened this issue Nov 30, 2022 · 2 comments
Labels

Comments

@jwillemsen
Copy link
Member

With GNU make 4.4 we get the following warning a lot when compiling ACE/TAO

/home/johnny/ACE/trunk/ACE/include/makeinclude/rules.local.GNU:294: warning: pattern recipe did not update peer target '/home/johnny/ACE/trunk/ACE/man/mann/libACE.so.7.0.10'.
GNU Make 4.4
Built for x86_64-suse-linux-gnu
Copyright (C) 1988-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
@mitza-oci
Copy link
Member

Good opportunity to refactor this chunk of the makefile and clean it up. I think it's simple enough to put the "recipe" part into a variable and make separate rules for the various patterns.

https://stackoverflow.com/questions/74449959/makefile-warning-pattern-recipe-did-not-update-peer-target

@jwillemsen
Copy link
Member Author

Tried the suggestion from stack overflow but that didn't work, testing #2225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants