drm/amdgpu/display: fix CFLAGS setup for DCN30
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Sep 2020 15:34:16 +0000 (11:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Sep 2020 21:08:02 +0000 (17:08 -0400)
commitc73d05eaba1c2d60558364f2d980090ebec6b082
treefee837547f97a6582d8c19e5a6b97e731c3ff41c
parent898c7302f4de1d91065e80fc46552b3ec70894ff
drm/amdgpu/display: fix CFLAGS setup for DCN30

Properly handle clang and older versions of gcc.

Fixes: e77165bf7b02a3 ("drm/amd/display: Add DCN3 blocks to Makefile")
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/Makefile