git: gcc80/libstdcxx: Fix config.h for libconv_supc/cp-demangle.c
Aaron LI
aly at crater.dragonflybsd.org
Mon Mar 23 00:40:20 PDT 2026
commit 60e05d418b1e82fcf9b90ea67f45ea7546a33a6e
Author: Aaron LI <aly at aaronly.me>
Date: Mon Mar 23 15:16:01 2026 +0800
gcc80/libstdcxx: Fix config.h for libconv_supc/cp-demangle.c
cp-demangle.c is provided by libiberty, so it must be built with
libiberty's 'config.h'. Introduce the 'GCC_NO_INC' make variable to
avoid including any search paths so we can specify the correct search
path for cp-demangle.c. Meanwhile, add the rule to copy over the
libiberty config.h.
In addition, apply GCC_NO_INC=yes to other libstdcxx components as it
turned out these search paths are unneeded.
Summary of changes:
gnu/lib/gcc80/Makefile.inc | 2 ++
{games/adventure => gnu/lib/gcc80/libstdcxx}/Makefile.inc | 1 +
gnu/lib/gcc80/libstdcxx/components/libconv_1998/Makefile | 2 +-
gnu/lib/gcc80/libstdcxx/components/libconv_2011/Makefile | 2 +-
gnu/lib/gcc80/libstdcxx/components/libconv_supc/Makefile | 12 ++++++++----
gnu/lib/gcc80/libstdcxx/headers/Makefile | 2 +-
gnu/lib/gcc80/libstdcxx/product/Makefile | 2 +-
7 files changed, 15 insertions(+), 8 deletions(-)
copy {games/adventure => gnu/lib/gcc80/libstdcxx}/Makefile.inc (62%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/60e05d418b1e82fcf9b90ea67f45ea7546a33a6e
--
DragonFly BSD source repository
More information about the Commits
mailing list