bpf: Use C locale when determining Linux headers
PATCH 1/1 bpf: Use C locale when determining Linux headers
Otherwise the sed pattern may not match.
Signed-off-by James Le Cuirot <[email protected]>
--- utils/keytable/bpf_protocols/cc_sys_includes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/keytable/bpf_protocols/cc_sys_includes.sh +1 -1
@@ -6,5 +6,5 @@ # # Use '-idirafter': Don't interfere with include mechanics except where the # build would have failed anyways. -"$@" -v -E - </dev/null 2>&1 \ +LC_ALL=C "$@" -v -E - </dev/null 2>&1 \ | sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }'
--
2.52.0