toolchain: gcc: disable ifunc on *-musl by default
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 23 Nov 2016 16:03:39 +0000 (00:03 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Nov 2016 11:53:18 +0000 (12:53 +0100)
commit49703b589ba8a5bfad63762e7fad649ab0097fa9
tree447714ee8fda00a4cc680da0007a7e3936dbf0d5
parent62da60b22032b59a52b0671a40c59105bdee8c55
toolchain: gcc: disable ifunc on *-musl by default

Otherwise the built binaries may fail with

    Error relocating /usr/bin/qemu-system-x86_64: unsupported relocation type 37

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
toolchain/gcc/patches/5.4.0/280-musl-disable-ifunc-by-default.patch [new file with mode: 0644]
toolchain/gcc/patches/6.2.0/280-musl-disable-ifunc-by-default.patch [new file with mode: 0644]