pwru
pwru copied to clipboard
Use clang for libpcap and CGO compilation
For the BPF code compilation we already use clang. Let's use the same compiler for the libpcap.a and CGO compilations.
@brb hi I want to work on this issue can you guide me through it
@swastik959 Hi, thanks for taking it. A C compiler is used in the following places:
- https://github.com/cilium/pwru/blob/main/Makefile#L19
- https://github.com/cilium/pwru/blob/main/Makefile#L25
The issue is about using Clang for those in https://github.com/cilium/pwru/tree/main/.github/workflows.
@brb do I only need to change the CC and LIBPCAP_CC to clang
Most likely yes - in the GH workflows.
:wave: @swastik959 Any update on the issue?