You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
756 B
22 lines
756 B
Libtool checks only for libraries linked as -l* when trying to
|
|
find internal compiler libraries. Clang, however uses the absolute
|
|
path to link its internal libraries e.g. compiler_rt. This patch
|
|
handles clang's statically linked libraries when finding internal
|
|
compiler libraries.
|
|
https://crbug.com/749263
|
|
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866
|
|
|
|
--- libtool-2.5.4/m4/libtool.m4
|
|
+++ libtool-2.5.4/m4/libtool.m4
|
|
@@ -7708,7 +7708,7 @@ if AC_TRY_EVAL(ac_compile); then
|
|
for p in `eval "$output_verbose_link_cmd"`; do
|
|
case $prev$p in
|
|
|
|
- -L* | -R* | -l*)
|
|
+ -L* | -R* | -l* | */libclang_rt.*.a)
|
|
# Some compilers place space between "-{L,R,l}" and the path.
|
|
# Remove the space.
|
|
if test x-L = x"$p" ||
|
|
--
|
|
2.45.2
|
|
|
|
|