trousers: Pass "-mno-compact-casesi" when building for ARCv1
authorZakharov Vlad <Vladislav.Zakharov@synopsys.com>
Tue, 22 Nov 2016 10:42:25 +0000 (13:42 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Nov 2016 22:30:38 +0000 (23:30 +0100)
commitf4cd8ceb9cfa908f3cdf0fffb94f1c854ddd24c4
treef2e4264f19bb6ba8e3cf57cce3b8162d2f837646
parent171d4103c565d618ac6dfc61dedf3e1a310e8d6c
trousers: Pass "-mno-compact-casesi" when building for ARCv1

Compact casesi patterns don't have a reload version. This causes build
failures of "trousers" package for ARC.

Current patch disables compact casesi patterns for ARCv1 (750D and 770D)
via passing "-mno-compact-casesi" option when compiling "trousers".

This change is a temporary workaround and the feature is going to be
fixed in the next ARC toolchain release version.

Fixes:
http://autobuild.buildroot.org/results/d2c/d2c16d8ba022b070c4dbeba5e7ea41f14d706691//

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/trousers/trousers.mk