]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu: fix clang build warning
authorArnd Bergmann <arnd@arndb.de>
Mon, 25 Jan 2021 12:23:20 +0000 (13:23 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jan 2021 18:40:48 +0000 (13:40 -0500)
commit990e396a983cb51fb955cf0c474cc04b541c9cbf
tree8d3ff0898bd3313da8e17fb4335866888f635a52
parent14603499f5c6a2c6c636f5b69220fa198db75ebc
amdgpu: fix clang build warning

clang warns about the -mhard-float command line arguments
on architectures that do not support this:

clang: error: argument unused during compilation: '-mhard-float' [-Werror,-Wunused-command-line-argument]

Move this into the gcc-specific arguments.

Fixes: 324a8e31fa89 ("drm/amd/display: Add DCN3 blocks to Makefile")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/Makefile
drivers/gpu/drm/amd/display/dc/dcn301/Makefile
drivers/gpu/drm/amd/display/dc/dcn302/Makefile