ceph/cmake
Kefu Chai d3c315703a cmake: pass -Wunused-but-set-variable when building dpdk
otherwise we have:

src/spdk/dpdk/lib/librte_eal/linux/eal.c:591:11: error: variable 'total_mem' set but not used [-Werror,-Wunused-but-set-variable]
        uint64_t total_mem = 0;
                 ^
1 error generated.

when building dpdk with Clang. dpdk passes -Werror to compiler, so
we have to disable this option.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-16 14:23:17 +08:00
..
modules cmake: pass -Wunused-but-set-variable when building dpdk 2021-08-16 14:23:17 +08:00