diff options
author | Sean McGovern <gseanmcg@gmail.com> | 2015-10-07 17:39:37 -0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-10-11 15:42:36 +0200 |
commit | c1aac39eaccd32dc3b74ccfcce701d3d888fbc6b (patch) | |
tree | 99c2de788e2c57519aaee5495f0dee0bb71fbb14 /common.mak | |
parent | b9ece15a01782b4f301c0c139d1d7b20f848914c (diff) | |
download | ffmpeg-c1aac39eaccd32dc3b74ccfcce701d3d888fbc6b.tar.gz |
build: add Solaris symbol versioning
The versioning facility in the Solaris linker differs from Linux in 3 ways:
1. It does not support globs in linker scripts for
symbol versioning -- this is a GNU extension.
2. The linker argument is '-M', instead of '--version-script'.
3. It is picky about line endings.
Each symbol or directive must be on a line of it's own.
Let's use make_sunver.pl from GCC to generate a version script that works
correctly with the Solaris linker. It's function is to correctly expand the
globs in the original generated version script.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak index adab9d17bb..ed9cbd4dbd 100644 --- a/common.mak +++ b/common.mak @@ -52,7 +52,7 @@ $(TOOLOBJS): | tools OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOBJS) $(HOSTOBJS) $(TESTOBJS)) -CLEANSUFFIXES = *.d *.o *~ *.h.c *.map *.ver *.gcno *.gcda +CLEANSUFFIXES = *.d *.o *~ *.h.c *.map *.ver *.ver-sol2 *.gcno *.gcda DISTCLEANSUFFIXES = *.pc LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a |