git: gcc: Add clang's -Wno-c++11-narrowing where we have gcc's -Wno-narrowing.

Sascha Wildner swildner at
Tue Oct 20 08:45:01 PDT 2020

commit 1fbcaeea0f23b1c05609fe814944d89978adf03e
Author: Sascha Wildner <saw at>
Date:   Sat Oct 17 10:16:22 2020 +0200

    gcc: Add clang's -Wno-c++11-narrowing where we have gcc's -Wno-narrowing.
    This fixes some clang buildworld issues.
    Not sure why it errors without this flag even though no -Werror is set.

Summary of changes:
 gnu/usr.bin/cc80/libbackend/Makefile                    | 2 ++
 gnu/usr.bin/cc80/support-libs/libcommon-target/Makefile | 2 ++
 gnu/usr.bin/cc80/support-libs/libcommon/Makefile        | 2 ++
 3 files changed, 6 insertions(+)

DragonFly BSD source repository

More information about the Commits mailing list