openwrt-packages/kernel/ovpn-dco
Sven Eckelmann 8340b842f5 ovpn-dco: Avoid building against musl headers
The musl headers contain defines which are incompatible with kernel builds.
For example alltypes.h contain a __BIG_ENDIAN define. This will force
various kernel functions/macros to be build in a way which requires the
target system to be big endian. But if the target system is actually little
endian, these function will then not perform there intended tasks. The
actual (hard to debug) effects can vary between minor problems and fatal
errors.

This is port of the fix from OpenWrt's commit 9ac47ee46918 ("build: use
-nostdinc and -isystem in NOSTDINC_FLAGS for out-of-tree kernel modules")

Fixes: 17cd1793bb ("ovpn-dco: Add package")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-11-29 01:44:11 -08:00
..
Makefile ovpn-dco: Avoid building against musl headers 2021-11-29 01:44:11 -08:00