ClangBuiltLinux / continuous-integration

Continuous integration of latest Linux kernel with daily build of Clang & LLVM tools
https://travis-ci.com/ClangBuiltLinux/continuous-integration
Apache License 2.0
44 stars 18 forks source link

patches: linux: x86_64: Fix passing of __BPF_TRACING__ to KBUILD_CFLAGS #119

Closed nathanchance closed 5 years ago

nathanchance commented 5 years ago

Guenter reports that with this patch, compilation fails:

$ make CC=clang-5.0 -j30 scripts/kconfig/conf --syncconfig Kconfig arch/x86/Makefile:297: *** recipe commences before first target. Stop.

Move the KBUILD_CFLAGS assignment up where the reptoline flags are passed along to mirror how those flags are handled to fix this.

nathanchance commented 5 years ago

Thanks, I went ahead and updated the commit message.