git: cc120: Fix -Wmissing-include-dirs warnings in cc_tools
Aaron LI
aly at crater.dragonflybsd.org
Tue Nov 17 00:32:08 PST 2026
commit 38f4e197be61f294ad90d92176108dddb589271f
Author: Aaron LI <aly at aaronly.me>
Date: Tue Nov 17 13:37:19 2026 +0800
cc120: Fix -Wmissing-include-dirs warnings in cc_tools
cc_tools is built *before* support-libs, so some of include dirs for
support-libs can be missing, causing the following warnings:
```
cc1plus: warning: /usr/obj/usr/src/gnu/usr.bin/cc120/cc_tools/libcpp/../../support-libs/libdecnumber: No such file or directory [-Wmissing-include-dirs]
```
Fix the warnings by introducing GCC_NO_INCS to not include all the -I
directories.
Summary of changes:
gnu/usr.bin/cc120/Makefile.inc | 3 +++
gnu/usr.bin/cc120/cc_tools/Makefile.inc | 3 ++-
gnu/usr.bin/cc120/cc_tools/libcpp/Makefile | 1 +
gnu/usr.bin/cc120/cc_tools/tools/Makefile | 1 +
4 files changed, 7 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/38f4e197be61f294ad90d92176108dddb589271f
--
DragonFly BSD source repository
More information about the Commits
mailing list