mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 02:27:22 +00:00
When building an RPM, --with-kerneldir is passed to ./configure. This adds the include path /lib/modules/<kversion>/build/include that may break the build but is not present when building with "make" so useless. For instance while building ipmi_sel.c with kernel 5.3.7-301.fc31.x86_64 : /lib/modules/5.3.7-301.fc31.x86_64/build/include/linux/stddef.h:11:2: error: expected identifier before numeric constant 11 | false = 0, | ^~~~~ Signed-off-by: Gilles Buloz <gilles.buloz@kontron.com>