jemalloc: fix sparc64 build
commit4d6efcc3d270d8140c5b72f5ddaaf502199e7a01
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Thu, 14 Jul 2016 21:11:59 +0000 (14 23:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 15 Jul 2016 07:51:27 +0000 (15 09:51 +0200)
treeae5d65c3223f8d1596bb2e24593f21875c3ae4b1
parent5b3ea02d6492ace88418e58f4ded62fa6e6605cf
jemalloc: fix sparc64 build

GCC 4.9.3 for sparc64 defines __sparc_v9__, not __sparc64__ nor
__sparcv9 (as reported by `gcc -dM -E - < /dev/null | egrep 'sparc|arch'`).

This prevents LG_QUANTUM from being properly defined. Adding this new
value solves the issue.

Fixes:

  http://autobuild.buildroot.net/results/95d/95df560b13be7abbce6aeeb3ed0f0814d597bd08/

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/jemalloc/0001-Fix-LG_QUANTUM-definition-for-sparc64.patch [new file with mode: 0644]