gcc: apply PowerPC patch when needed
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 5 Jul 2013 08:40:52 +0000 (10:40 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 5 Jul 2013 13:30:41 +0000 (15:30 +0200)
commit197006a41c1a0450bf6350d5742e186b5b0c69de
treee2bb0d3096eb9f611373fd6d2638d79ce7699ad1
parent885449e4b9171283a8106957db5cf6139ef2273a
gcc: apply PowerPC patch when needed

When converting gcc to the package infrastructure, a specific thing
for PowerPC was forgotten: applying the conditional patch
powerpc-link-with-math-lib.patch.conditional. This breaks the build of
some PowerPC toolchains, with failures such as:

<http://jenkins.free-electrons.com/job/buildroot/./config=qemu_ppc_virtex_ml507_defconfig/ws/output/host/usr/lib/gcc/powerpc-buildroot-linux-uclibc/4.7.3/../../../../powerpc-buildroot-linux-uclibc/lib/libgcc_s.so.1>: undefined reference to `copysignl'

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gcc/gcc.mk