summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-04-01 02:49:58 +0100
committerEmil Velikov <[email protected]>2014-04-05 13:00:32 +0100
commit28a42764423c86656a6fe77917c7044d29adf600 (patch)
tree1decbd0c6f79746be530f6dac7a83a32b7b54733
parent16372969c7ec7b5b9f5da49626e7ceea57da1efe (diff)
drivers/nouveau: mention dummy.cpp to use g++ linker
The build system does not know that the static library is C++. Mention the cpp file to trigger generation of the proper variable and drop the hacky stdc++ linking. Cc: Ilia Mirkin <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r--src/gallium/drivers/nouveau/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am
index 27f829f2da3..ef48380ac6a 100644
--- a/src/gallium/drivers/nouveau/Makefile.am
+++ b/src/gallium/drivers/nouveau/Makefile.am
@@ -42,11 +42,11 @@ libnouveau_la_SOURCES = \
noinst_PROGRAMS = nouveau_compiler
+nodist_EXTRA_nouveau_compiler_SOURCES = dummy.cpp
nouveau_compiler_SOURCES = \
nouveau_compiler.c
nouveau_compiler_LDADD = \
libnouveau.la \
../../auxiliary/libgallium.la \
- -lstdc++ \
$(GALLIUM_COMMON_LIB_DEPS)