add gcc patch

Signed-off-by: Lauri Leukkunen <lauri.leukkunen@huawei.com>
fix patching, maybe

Signed-off-by: Lauri Leukkunen <lauri.leukkunen@huawei.com>