freedreno: use CXX linker rather than explicit link against libstdc++
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 15 Apr 2015 10:28:38 +0000 (11:28 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 12 Jun 2015 14:32:17 +0000 (15:32 +0100)
Cc: Rob Clark <robclark@freedesktop.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/drivers/freedreno/Makefile.am

index 4b2629f77bdeae0387efda6ae25b385df30aa07f..e798e449b99dc6a6203504da49cd8a907e991e2d 100644 (file)
@@ -21,6 +21,8 @@ libfreedreno_la_SOURCES = \
 
 noinst_PROGRAMS = ir3_compiler
 
+# XXX: Required due to the C++ sources in libnir/libglsl_util
+nodist_EXTRA_ir3_compiler_SOURCES = dummy.cpp
 ir3_compiler_SOURCES = \
        ir3/ir3_cmdline.c
 
@@ -29,7 +31,6 @@ ir3_compiler_LDADD = \
        ../../auxiliary/libgallium.la \
        $(top_builddir)/src/glsl/libnir.la \
        $(top_builddir)/src/libglsl_util.la \
-       -lstdc++ \
        $(top_builddir)/src/util/libmesautil.la \
        $(GALLIUM_COMMON_LIB_DEPS) \
        $(FREEDRENO_LIBS)