From: David Faust Date: Tue, 28 Sep 2021 17:29:50 +0000 (-0700) Subject: bpf: correct extra_headers X-Git-Tag: basepoints/gcc-13~4347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a672a2258256f331b658c97e2f68711b709fdbe8;p=thirdparty%2Fgcc.git bpf: correct extra_headers The BPF CO-RE support (commit 8bdabb37549f12ce727800a1c8aa182c0b1dd42a) mistakenly overwrote bpf-*-* extra_headers in config.gcc, causing bpf-helpers.h to not be installed. The redefinition with coreout.h is unneeded, so delete it. gcc/ChangeLog: * config.gcc (bpf-*-*): Do not overwrite extra_headers. --- diff --git a/gcc/config.gcc b/gcc/config.gcc index 498c51e619de..aa5bd5d14590 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1531,7 +1531,6 @@ bpf-*-*) use_collect2=no extra_headers="bpf-helpers.h" use_gcc_stdint=provide - extra_headers="coreout.h" extra_objs="coreout.o" target_gtfiles="$target_gtfiles \$(srcdir)/config/bpf/coreout.c" ;;