diff options
Diffstat (limited to 'sys-devel/libtool/files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch')
-rw-r--r-- | sys-devel/libtool/files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch b/sys-devel/libtool/files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch deleted file mode 100644 index a89fef4f324d..000000000000 --- a/sys-devel/libtool/files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./ltmain.in.gege 2001-09-11 01:40:18.000000000 +0200 -+++ ./ltmain.in 2002-05-15 13:32:16.000000000 +0200 -@@ -205,6 +205,17 @@ - exit 1 - fi - -+# Mandrake: (gc) It's bad to link C++ code with GCC, so we need to use the compiler name if provided -+if test "$mode" = link && test -n "$archive_cmds" && test -x "/usr/bin/perl"; then -+ case $nonopt in -+ *cc | *++ | gcc* | *-gcc* | egcs*) -+ archive_cmds=`echo $archive_cmds | perl -pe 's/^\S+\s+//'` -+ archive_cmds="$nonopt $archive_cmds" -+ archive_expsym_cmds=`echo $archive_expsym_cmds | perl -pe 's/^\S+\s+//'` -+ archive_expsym_cmds="$nonopt $archive_expsym_cmds" -+ esac -+fi -+ - # If this variable is set in any of the actions, the command in it - # will be execed at the end. This prevents here-documents from being - # left over by shells. |