Re: [Qemu-devel] [RISU v2 01/11] Makefile: undefine the arch name symbol

2019-05-20 Thread Alex Bennée
Jan Bobek writes: > At least GCC defines the symbol "i386" to 1 to signal the target > platform. We need to use "i386" as an undefined symbol in order to > correctly include risu_reginfo_i386.h from risu.h. Add an -U option to > the build command to make sure the symbol remains undefined. > > S

Re: [Qemu-devel] [RISU v2 01/11] Makefile: undefine the arch name symbol

2019-05-18 Thread Richard Henderson
On 5/17/19 3:44 PM, Jan Bobek wrote: > At least GCC defines the symbol "i386" to 1 to signal the target > platform. We need to use "i386" as an undefined symbol in order to > correctly include risu_reginfo_i386.h from risu.h. Add an -U option to > the build command to make sure the symbol remains u

[Qemu-devel] [RISU v2 01/11] Makefile: undefine the arch name symbol

2019-05-17 Thread Jan Bobek
At least GCC defines the symbol "i386" to 1 to signal the target platform. We need to use "i386" as an undefined symbol in order to correctly include risu_reginfo_i386.h from risu.h. Add an -U option to the build command to make sure the symbol remains undefined. Suggested-by: Richard Henderson S