aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-12-13 11:12:11 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-12-13 11:34:51 +0100
commiteeeee885fb497bb07041575b78fca4063145edb9 (patch)
tree6b671578adf6181d02db4e57097842849864d372 /package/system
parent30e18c8d64cfa58aa42eececcda728824a4bebaf (diff)
downloadupstream-eeeee885fb497bb07041575b78fca4063145edb9.tar.gz
upstream-eeeee885fb497bb07041575b78fca4063145edb9.tar.bz2
upstream-eeeee885fb497bb07041575b78fca4063145edb9.zip
ar71xx: fix lzma-loader build with glibc
For an unknown reason gcc tries to link in crti.o when building with a glibc toolchain (this does not happen with other targets). Prevent this by telling gcc explicitly to not do that. Fixes the following build error: /home/jonas/git/lede/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/lib/gcc/mips-openwrt-linux-gnu/5.5.0/../../../../mips-openwrt-linux-gnu/lib/crti.o: In function `_init': (.init+0x18): relocation truncated to fit: R_MIPS_GOT16 against `__gmon_start__' /home/jonas/git/lede/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/lib/gcc/mips-openwrt-linux-gnu/5.5.0/../../../../mips-openwrt-linux-gnu/lib/crti.o: In function `_init': (.init+0x28): relocation truncated to fit: R_MIPS_CALL16 against `__gmon_start__' collect2: error: ld returned 1 exit status Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'package/system')
0 files changed, 0 insertions, 0 deletions