aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2023-01-11 20:05:09 -0700
committerMasahiro Yamada <[email protected]>2023-01-26 12:43:11 +0900
commit7db038d9790eda558dd6c1dde4cdd58b64789c47 (patch)
tree61855cc035755524ac9409fa4c2d6e8d61380992 /scripts/gcc-plugins/randomize_layout_plugin.c
parent66bfe497d044a0dd4505e5179b3874b1a869c0b1 (diff)
drm/amd/display: Do not add '-mhard-float' to dml_ccflags for clang
When clang's -Qunused-arguments is dropped from KBUILD_CPPFLAGS, it warns: clang-16: error: argument unused during compilation: '-mhard-float' [-Werror,-Wunused-command-line-argument] Similar to commit 84edc2eff827 ("selftest/fpu: avoid clang warning"), just add this flag to GCC builds. Commit 0f0727d971f6 ("drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines") added '-msse2' to prevent clang from emitting software floating point routines. Signed-off-by: Nathan Chancellor <[email protected]> Acked-by: Alex Deucher <[email protected]> Tested-by: Linux Kernel Functional Testing <[email protected]> Tested-by: Anders Roxell <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions