git: gcc120,gcc80: Fix depend generation for multiple libraries
Aaron LI
aly at crater.dragonflybsd.org
Fri Aug 28 00:23:02 PDT 2026
commit afae3968034328ca64ac5ad55c3bae8acaee096f
Author: Aaron LI <aly at aaronly.me>
Date: Tue Aug 25 20:16:16 2026 +0800
gcc120,gcc80: Fix depend generation for multiple libraries
In the makefiles of these libraries, the `depend` and `all` targets were
used to create the generated files, so the builtin `depend` rules that
call mkdep(1) were simply overridden and ignored.
Fix this by using the `beforedepend` target instead. This convention
has been already used in a few other libraries, such as
gcc*/libstdc++/components/*.
Summary of changes:
gnu/lib/gcc120/libgomp/Makefile | 2 +-
gnu/lib/gcc120/libstdc++/headers/Makefile | 2 +-
gnu/lib/gcc80/libgomp/Makefile | 2 +-
gnu/usr.bin/cc120/libbackend/Makefile | 2 +-
gnu/usr.bin/cc120/support-libs/libdecnumber/Makefile | 2 +-
gnu/usr.bin/cc120/support-libs/libiberty_pic/Makefile | 2 +-
gnu/usr.bin/cc80/support-libs/libdecnumber/Makefile | 2 +-
gnu/usr.bin/cc80/support-libs/libiberty_pic/Makefile | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/afae3968034328ca64ac5ad55c3bae8acaee096f
--
DragonFly BSD source repository
More information about the Commits
mailing list