git: gcc80: Add MKDEPCC=${CXX} for drivers/{c++,cc,cpp,gcov}

Aaron LI aly at crater.dragonflybsd.org
Fri Apr 10 21:29:52 PDT 2026


commit c3b81f5ddb07d884442d19234d8f9c8d5b6c5093
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Apr 10 14:05:57 2026 +0800

    gcc80: Add MKDEPCC=${CXX} for drivers/{c++,cc,cpp,gcov}
    
    The four drivers define ${SRCS} of .c files but actually use/require a
    C++ compiler to compile them, so add MKDEPCC=${CXX} to ensure "mkdep"
    working correctly for future-proof.
    
    Meanwhile, add the 'hack to force c++ compiler' comment to libcommon and
    libcommon-target makefiles as they're already doing so.
    
    Suggested-by: swildner

Summary of changes:
 gnu/usr.bin/cc80/drivers/c++/Makefile                   | 1 +
 gnu/usr.bin/cc80/drivers/cc/Makefile                    | 1 +
 gnu/usr.bin/cc80/drivers/cpp/Makefile                   | 1 +
 gnu/usr.bin/cc80/drivers/gcov/Makefile                  | 1 +
 gnu/usr.bin/cc80/support-libs/libcommon-target/Makefile | 1 +
 gnu/usr.bin/cc80/support-libs/libcommon/Makefile        | 1 +
 6 files changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c3b81f5ddb07d884442d19234d8f9c8d5b6c5093


-- 
DragonFly BSD source repository


More information about the Commits mailing list