diff options
Diffstat (limited to 'libtool-tcc-wl.patch')
-rw-r--r-- | libtool-tcc-wl.patch | 17 |
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) |