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 <imirkin@alum.mit.edu>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Emil Velikov 2014-04-01 02:49:58 +01:00
parent 16372969c7
commit 28a4276442

View file

@ -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)