summaryrefslogtreecommitdiff
path: root/libtool-tcc-wl.patch
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-23 15:17:07 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-23 15:17:07 +0000
commit4879d91992ebc0072ed720b8772c2af65c034953 (patch)
treec3a6944664405cf659ad63eded59cb4106c1086a /libtool-tcc-wl.patch
parentabf8081545e3f1d6591fdad7b806d56d7f0ee3b2 (diff)
downloadmpfr-4879d91992ebc0072ed720b8772c2af65c034953.tar.gz
Added libtool-tcc-wl.patch patch from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663945#46 to add tcc support to libtool 2.4.2 and below. In doc/README.dev, documented how to use this patch (before a release). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8878 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'libtool-tcc-wl.patch')
-rw-r--r--libtool-tcc-wl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/libtool-tcc-wl.patch b/libtool-tcc-wl.patch
new file mode 100644
index 000000000..da4c0df10
--- /dev/null
+++ b/libtool-tcc-wl.patch
@@ -0,0 +1,17 @@
+--- a/libltdl/m4/libtool.m4
++++ b/libltdl/m4/libtool.m4
+@@ -4375,6 +4375,14 @@
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
++ tcc*)
++ # Fabrice Bellard et al's Tiny C Compiler
++ # When it learns to make shared objects, it will
++ # presumably use -fPIC.
++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
++ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
++ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ # Portland Group compilers (*not* the Pentium gcc compiler,
+ # which looks to be a dead project)