Re: [Xen-devel] [PATCH v5 1/5] build: do not hardcode AFLAGS for as-insn tests

2018-02-21 Thread Andrew Cooper
On 20/02/18 14:10, Roger Pau Monne wrote: > Hardcoding as-insn to use AFLAGS is not correct. For once the test is > performed using a C file with inline assembly, and secondly the flags > used can be passed by the caller together with the CC. > > Fix as-insn-check to pass the flags given as

[Xen-devel] [PATCH v5 1/5] build: do not hardcode AFLAGS for as-insn tests

2018-02-20 Thread Roger Pau Monne
Hardcoding as-insn to use AFLAGS is not correct. For once the test is performed using a C file with inline assembly, and secondly the flags used can be passed by the caller together with the CC. Fix as-insn-check to pass the flags given as parameter to the test. Signed-off-by: Roger Pau Monné