aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-07-04 07:24:29 +0000
committerShuah Khan <[email protected]>2024-07-11 17:23:55 +0000
commita89e589051d48f605c11662c35c56be65e1bca64 (patch)
tree1e230293c76fb9d3ab1cd52e0fdd12fa322bfb50 /drivers/net/ethernet/intel/igc/igc_main.c
parentselftests/x86: build sysret_rip.c with clang (diff)
downloadkernel-a89e589051d48f605c11662c35c56be65e1bca64.tar.gz
kernel-a89e589051d48f605c11662c35c56be65e1bca64.zip
selftests/x86: avoid -no-pie warnings from clang during compilation
When building with clang, via: make LLVM=1 -C tools/testing/selftests ...clang warns that -no-pie is "unused during compilation". This occurs because clang only wants to see -no-pie during linking. Here, we don't have a separate linking stage, so a compiler warning is unavoidable without (wastefully) restructuring the Makefile. Avoid the warning by simply disabling that warning, for clang builds. Acked-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: John Hubbard <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions