aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/llvm
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-12-24 15:45:04 +0100
committerTristan Gingold <tgingold@free.fr>2016-12-24 15:45:04 +0100
commit23a879632df599ca18a0e122af48b82dc2d54d15 (patch)
tree23a1e7bad0560e9f5d59658dc12754708111035b /src/ortho/llvm
parentaa10e0e6a0c8e613b70abd17c7ec841d8108d942 (diff)
downloadghdl-23a879632df599ca18a0e122af48b82dc2d54d15.tar.gz
ghdl-23a879632df599ca18a0e122af48b82dc2d54d15.tar.bz2
ghdl-23a879632df599ca18a0e122af48b82dc2d54d15.zip
Use CXX in makefiles and configures to design the c++ compiler.
Diffstat (limited to 'src/ortho/llvm')
-rw-r--r--src/ortho/llvm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ortho/llvm/Makefile b/src/ortho/llvm/Makefile
index 3af94a6fe..8c6a8d7f2 100644
--- a/src/ortho/llvm/Makefile
+++ b/src/ortho/llvm/Makefile
@@ -12,7 +12,7 @@ $(ortho_exec): $(ortho_srcdir)/llvm/ortho_llvm.ads force llvm-cbindings.o
$(GNATMAKE) -o $@ -aI$(ortho_srcdir)/llvm -aI$(ortho_srcdir) \
$(GNAT_FLAGS) ortho_code_main -bargs -E \
-largs llvm-cbindings.o --LINK=$(CXX) \
- `$(LLVM_CONFIG) --ldflags --libs --system-libs` $(LDFLAGS)
+ $(LDFLAGS) `$(LLVM_CONFIG) --ldflags --libs --system-libs`
llvm-cbindings.o: $(ortho_srcdir)/llvm/llvm-cbindings.cpp
$(CXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $<