diff options
author | Nathan Chancellor <nathan@kernel.org> | 2023-06-01 11:46:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-19 16:36:59 +0200 |
commit | 03c0d4aa85507995617977b2ff241238f60d442d (patch) | |
tree | a38ea64f7a26a0980a89602b00466c9d49951ae0 /scripts/checkstack.pl | |
parent | 089f24d3f39eed0a95fc106696a8d61d1fc2af79 (diff) | |
download | linux-stable-03c0d4aa85507995617977b2ff241238f60d442d.tar.gz linux-stable-03c0d4aa85507995617977b2ff241238f60d442d.tar.bz2 linux-stable-03c0d4aa85507995617977b2ff241238f60d442d.zip |
powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y
commit a7e5eb53bf9b800d086e2ebcfebd9a3bb16bd1b0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions