diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-12-12 03:49:42 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-12-12 03:49:42 +0100 |
commit | 9544b52efb2f48d3031a1f1bc9070f0e4c164864 (patch) | |
tree | 03b05d46f8a60482f5db9843dd42abeb654af394 /src/ortho | |
parent | df579fb5fda33ffadd20aa99a019b68ad90e08cb (diff) | |
download | ghdl-9544b52efb2f48d3031a1f1bc9070f0e4c164864.tar.gz ghdl-9544b52efb2f48d3031a1f1bc9070f0e4c164864.tar.bz2 ghdl-9544b52efb2f48d3031a1f1bc9070f0e4c164864.zip |
travis: use CLANGXX instead of CXX
Diffstat (limited to 'src/ortho')
-rw-r--r-- | src/ortho/llvm-nodebug/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ortho/llvm-nodebug/Makefile b/src/ortho/llvm-nodebug/Makefile index 3f9ab2099..41cc56b79 100644 --- a/src/ortho/llvm-nodebug/Makefile +++ b/src/ortho/llvm-nodebug/Makefile @@ -1,6 +1,6 @@ ortho_srcdir=.. GNAT_FLAGS=-gnaty3befhkmr -gnata -gnatf -gnatwael -gnat05 -CXX=clang++ +CLANGXX=clang++ LLVM_CONFIG=llvm-config GNATMAKE=gnatmake SED=sed @@ -11,11 +11,11 @@ all: $(ortho_exec) $(ortho_exec): $(ortho_srcdir)/llvm-nodebug/ortho_llvm.ads force llvm-cbindings.o ortho_code_main.adb $(GNATMAKE) -o $@ -aI$(ortho_srcdir)/llvm-nodebug -aI$(ortho_srcdir) \ $(GNAT_FLAGS) ortho_code_main -bargs -E \ - -largs llvm-cbindings.o --LINK=$(CXX) \ + -largs llvm-cbindings.o --LINK=$(CLANGXX) \ `$(LLVM_CONFIG) --ldflags --libs --system-libs` $(LDFLAGS) llvm-cbindings.o: $(ortho_srcdir)/llvm-nodebug/llvm-cbindings.cpp - $(CXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $< + $(CLANGXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $< ortho_code_main.adb: echo "with Ortho_Code_Main$(llvm_be_ver);" > ortho_code_main.tmp |