android_kernel_motorola_sm6225/tools/build/feature
Arnaldo Carvalho de Melo c3cd98867a tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
commit 541f695cbcb6932c22638b06e0cbe1d56177e2e9 upstream.

Just like its done for ldopts and for both in tools/perf/Makefile.config.

Using `` to initialize PERL_EMBED_CCOPTS somehow precludes using:

  $(filter-out SOMETHING_TO_FILTER,$(PERL_EMBED_CCOPTS))

And we need to do it to allow for building with versions of clang where
some gcc options selected by distros are not available.

Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # Debian/Selfmade LLVM-14 (x86-64)
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Fangrui Song <maskray@google.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Keeping <john@metanate.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Link: http://lore.kernel.org/lkml/YktYX2OnLtyobRYD@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-15 14:15:06 +02:00
..
.gitignore
Makefile tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts 2022-04-15 14:15:06 +02:00
test-all.c tools build: Remove needless libpython-version feature check that breaks test-all fast path 2021-12-14 10:18:07 +01:00
test-backtrace.c
test-bionic.c
test-bpf.c
test-clang.cpp
test-compile.c
test-cplus-demangle.c
test-cxx.cpp
test-disassembler-four-args.c
test-dwarf.c
test-dwarf_getlocations.c
test-eventfd.c tools build feature: Check if eventfd() is available 2021-03-24 11:07:32 +01:00
test-fortify-source.c
test-get_cpuid.c
test-get_current_dir_name.c
test-gettid.c tools build: Check if gettid() is available before providing helper 2021-03-24 11:07:32 +01:00
test-glibc.c
test-gtk2-infobar.c
test-gtk2.c
test-hello.c
test-jvmti.c
test-libaudit.c
test-libbabeltrace.c
test-libbfd.c
test-libcrypto.c
test-libdw-dwarf-unwind.c
test-libelf-gelf_getnote.c
test-libelf-getphdrnum.c
test-libelf-getshdrstrndx.c
test-libelf-mmap.c
test-libelf.c
test-libnuma.c
test-libopencsd.c
test-libperl.c
test-libpython.c
test-libslang.c
test-libunwind-aarch64.c
test-libunwind-arm.c
test-libunwind-debug-frame-aarch64.c
test-libunwind-debug-frame-arm.c
test-libunwind-debug-frame.c
test-libunwind-x86.c
test-libunwind-x86_64.c
test-libunwind.c
test-llvm-version.cpp
test-llvm.cpp
test-lzma.c
test-numa_num_possible_cpus.c
test-pthread-attr-setaffinity-np.c
test-pthread-barrier.c
test-reallocarray.c
test-sched_getcpu.c
test-sdt.c
test-setns.c
test-stackprotector-all.c
test-sync-compare-and-swap.c
test-timerfd.c
test-zlib.c