Skip to content

Commit 904c5b6

Browse files
brammooldouglaskayama
authored andcommitted
patch 7.4.750 Problem: Cannot build with clang 3.5 on Cygwin with perl enabled. Solution: Strip "-fdebug-prefix-map" in configure. (Ken Takata)
1 parent 1cf531a commit 904c5b6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/configure.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,10 @@ if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then
957957
done
958958
AC_SUBST(vi_cv_perlsitelib)
959959
dnl Remove "-fno-something", it breaks using cproto.
960+
dnl Remove "-fdebug-prefix-map", it isn't supported by clang.
960961
perlcppflags=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
961-
-e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[[^ ]]*//'`
962+
-e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[[^ ]]*//' \
963+
-e 's/-fdebug-prefix-map[[^ ]]*//g'`
962964
dnl Remove "-lc", it breaks on FreeBSD when using "-pthread".
963965
perllibs=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
964966
sed -e '/Warning/d' -e '/Note (probably harmless)/d' \

0 commit comments

Comments
 (0)