]> 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>
Mon, 25 Jan 2021 22:48:46 +0000 (17:48 -0500)
commitb6f96bba9d1903ee3dafa77a28aa5e767ade8f23
treecd085e70aff5a8418341eb9b875605447d584492
parent5d9e3db6d8cffa3f1e0f15cac490f3aad81f8ad3
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