juhosg e7ee3fdc14 packages/libflac: don't hardcode altivec options in CPUCFLAGS
The '-maltivec' and '-mabi=altivec' options always
included in the CPUCPFLAGS variable, even if altivec
support is disabled. This causes build failure on
powerpc platforms without altivec support:

  bitmath.c:1:0: error: AltiVec and E500 instructions cannot coexist

Update the src/libFLAC/Makefile.am template to skip
altivec options if 'FLaC__USE_ALTIVEC' is not used.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 11:01:47 +00:00
..