diff options
author | Nathan Chancellor <nathan@kernel.org> | 2023-06-01 21:46:33 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-05 03:49:58 +0300 |
commit | a7e5eb53bf9b800d086e2ebcfebd9a3bb16bd1b0 (patch) | |
tree | 94ef58f9c82bd79648754168fe3fade9b6e8814e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 08f6554ff90ef189e6b8f0303e57005bddfdd6a7 (diff) | |
download | linux-a7e5eb53bf9b800d086e2ebcfebd9a3bb16bd1b0.tar.xz |
powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y
A future change will move CLANG_FLAGS from KBUILD_{A,C}FLAGS to
KBUILD_CPPFLAGS so that '--target' is available while preprocessing.
When that occurs, the following error appears when building the compat
PowerPC vDSO:
clang: error: unsupported option '-mbig-endian' for target 'x86_64-pc-linux-gnu'
make[3]: *** [.../arch/powerpc/kernel/vdso/Makefile:76: arch/powerpc/kernel/vdso/vdso32.so.dbg] Error 1
Explicitly add CLANG_FLAGS to ldflags-y, so that '--target' will always
be present.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions