kernel/freebsd: always use clang for kmod compilation
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 12 Nov 2019 16:41:36 +0000 (16:41 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 20 Nov 2019 09:17:33 +0000 (10:17 +0100)
commit37a95bbff027885f6f5968fd5c6cf689727ecb7c
tree1de94c2bd1d2c32b945f1db4a631620b4fa369f6
parent23a5bb477a93c771e7999a350702d7175deb4aa4
kernel/freebsd: always use clang for kmod compilation

Clang is the system compiler for FreeBSD and kernel module builds can fail
when built with gcc, e.g. when testing with test-meson-builds.sh.
Therefore, it's safer to always use clang to build the kmods since the
actual flags used are outside of DPDK's control and cannot be guaranteed to
work with all compilers.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
kernel/freebsd/meson.build