Re: [PATCH] Fix SPARCv8 condition

2015-08-08 Thread Marc Lehmann
On Sat, Aug 08, 2015 at 11:50:13PM +0200, Thomas Petazzoni wrote: > Fix SPARCv8 condition > > The define provided by the compiler on SPARCv8 is __sparc_v8__ and not > __sparcv8. From a SPARCv8 gcc: Thanks, applied (reassuring that the assembly compiles). (Interestingly, it seems postgresql use

[PATCH] Fix SPARCv8 condition

2015-08-08 Thread Thomas Petazzoni
Fix SPARCv8 condition The define provided by the compiler on SPARCv8 is __sparc_v8__ and not __sparcv8. From a SPARCv8 gcc: $ sparc-linux-gcc --version sparc-linux-gcc (Buildroot 2015.08-git-00497-ge110081) 4.9.3 [...] $ sparc-linux-gcc -dM -E - < /dev/null | grep sparc #define sparc 1 #define __