Re: [lng-odp] [PATCH v2] build: fix native Clang build on ARMv8

2017-04-13 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Dmitry Eremin-Solenikov > Sent: Thursday, April 13, 2017 1:13 AM > To: Brian Brooks <brian.bro...@arm.com>; lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [PATCH v2]

Re: [lng-odp] [PATCH v2] build: fix native Clang build on ARMv8

2017-04-12 Thread Dmitry Eremin-Solenikov
On 12.04.2017 21:30, Brian Brooks wrote: > The build is broken when using clang on ARM. -mcx16 is being passed to > clang when building natively on ARM. This combined with -Werror causes > the breakage. Fix it by skipping anything related to -mcx16 when not > building for x86-based architectures.

[lng-odp] [PATCH v2] build: fix native Clang build on ARMv8

2017-04-12 Thread Brian Brooks
The build is broken when using clang on ARM. -mcx16 is being passed to clang when building natively on ARM. This combined with -Werror causes the breakage. Fix it by skipping anything related to -mcx16 when not building for x86-based architectures. See [1] for details. [1]