diff options
author | Marcin Slusarz <[email protected]> | 2011-10-13 21:45:45 +0200 |
---|---|---|
committer | Marcin Slusarz <[email protected]> | 2011-10-17 22:57:27 +0200 |
commit | 757390491cfa3b861fab76940a8c6e508d1f1a25 (patch) | |
tree | a69fb54b0b227d8131cd057f653dbc61d1113ae2 /src/gallium/targets/Makefile.dri | |
parent | c0573fb29df6defe58f4898f0b8a42e8b9214d36 (diff) |
gallium/targets: use c++ compiler for linking
As pointed out by Michel Dänzer, gcc -lstdc++ doesn't work on all systems,
because it may require other libraries which are only pulled in implicitly
by g++. And libstdc++ is available only with GNU compiler.
Use c++ compiler for linking and remove redundant LDFLAGS += -lstdc++
all over the tree.
Diffstat (limited to 'src/gallium/targets/Makefile.dri')
-rw-r--r-- | src/gallium/targets/Makefile.dri | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/targets/Makefile.dri b/src/gallium/targets/Makefile.dri index 857ebfeac84..a26b3ee45bb 100644 --- a/src/gallium/targets/Makefile.dri +++ b/src/gallium/targets/Makefile.dri @@ -4,8 +4,6 @@ ifeq ($(MESA_LLVM),1) LDFLAGS += $(LLVM_LDFLAGS) DRIVER_EXTRAS = $(LLVM_LIBS) -else -LDFLAGS += -lstdc++ endif MESA_MODULES = \ |