shine: fix mips64 (octeon) build error 1673/head
authorDirk Neukirchen <dirkneukirchen@web.de>
Fri, 8 May 2015 08:04:50 +0000 (10:04 +0200)
committerDirk Neukirchen <dirkneukirchen@web.de>
Wed, 19 Aug 2015 10:15:46 +0000 (12:15 +0200)
commitf9c2f0821ea15a897832499f47cd649e818772ca
tree855f859747e57087bc5cf3476066baeb813ddc1a
parentad39db848e72054e1ecfae787ef5f24b8d25a12a
shine: fix mips64 (octeon) build error

error reported by buildbot, replicated locally:
wave.c:(.text+0x8e4): undefined reference to `__builtin_bswap16'

It seems that gcc builtin function is not working for mips64

according to
https://gcc.gnu.org/ml/gcc-patches/2014-01/msg00551.html
bswap patterns only work in >4.8 so the compiler
check in wave.c seems inconsistent across different archs
as octeon has gcc 4.6

make it require gcc >=4.8

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
sound/shine/patches/001-fix_mips64_bswap.patch [new file with mode: 0644]