From: Emil Velikov Date: Tue, 1 Apr 2014 01:49:58 +0000 (+0100) Subject: drivers/nouveau: mention dummy.cpp to use g++ linker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28a42764423c86656a6fe77917c7044d29adf600;p=mesa.git 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 Signed-off-by: Emil Velikov Reviewed-by: Ilia Mirkin --- 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)