diff options
author | Eric Molitor <eric@molitor.org> | 2020-02-16 12:19:32 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-16 10:48:43 -0300 |
commit | 8b44ad2619302012d0a778b1df72c049bbca4115 (patch) | |
tree | 124a6016c760b028af00fc92787b510cba879d80 /main/lighttpd/lighttpd.initd | |
parent | c58cd4138f31fd5ac4444302734229ada035aa29 (diff) | |
download | aports-8b44ad2619302012d0a778b1df72c049bbca4115.tar.bz2 aports-8b44ad2619302012d0a778b1df72c049bbca4115.tar.xz |
main/compiler-rt: Fix compiler-rt install location
Alpine currently installs compiler-rt into the following location.
[DESTDIR]/lib/clang/[CLANG_VERSION]
However, Clang expects compiler-rt to be located at a specific location.
[DESTDIR]/lib/clang/[CLANG_VERSION]/lib/[OS]
This results in clang on Alpine not being able to use compiler-rt.
clang -rtlib=compiler-rt hello.c
/usr/bin/ld: cannot find crtbeginS.o: No such file or directory
/usr/bin/ld: cannot find /usr/lib/clang/9.0.0/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /usr/lib/clang/9.0.0/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
/usr/bin/ld: cannot find crtendS.o: No such file or directory
This change corrects the install location and allows clang to use
compiler-rt as a runtime library via -rtlib=compiler-rt.
Diffstat (limited to 'main/lighttpd/lighttpd.initd')
0 files changed, 0 insertions, 0 deletions