diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2013-11-09 23:00:14 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2013-11-16 16:31:04 +0000 |
commit | 02fdb5cb51fdbe63261ffeb7d5ca0fa10838899b (patch) | |
tree | fe1c9cc7a970ebd9c6a9980e9a5826990e9e8ec8 /src/gallium/Automake.inc | |
parent | 5b8c2c8f00a145d0e62edac9c92c1ef14d02651d (diff) |
targets/dri: move linker flags out of configure into Automake.inc
Previous assumption was that the same set of flags can be reused
for both classic and gallium drivers. With megadriver work done
the classic drivers ended up using their own (single) instance of
the flags.
Move these into Automake.inc and rename to indicate that those
are gallium specific. Additionally silence an automake/autoconf
warning "XXX is not a standard libtool library name", due to
the parsing issues of the module tag.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r-- | src/gallium/Automake.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index 2a3ad21d20..b6b9b367a8 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -50,6 +50,14 @@ GALLIUM_VIDEO_CFLAGS = \ $(LIBDRM_CFLAGS) \ $(VISIBILITY_CFLAGS) + +# TODO: add -export-symbols-regex +GALLIUM_DRI_LINKER_FLAGS = \ + -module \ + -avoid-version \ + -shared \ + -Wl,-Bsymbolic + GALLIUM_VDPAU_LINKER_FLAGS = \ -module \ -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \ |