Also copy over the part that makes old gcc handling cross-platform. Fixes:df7a1658f2("drm/amdgpu/dc: fix DCN3.1 Makefile for PPC64") Fixes:926d6972ef("drm/amd/display: Add DCN3.1 blocks to the DC Makefile") Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>