diff options
author | Tristan Gingold | 2014-03-09 07:05:34 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-03-09 07:05:34 +0100 |
commit | 6a8dd0ee9bd3ec2ffe6ff7fa821af92968008e55 (patch) | |
tree | 4dacb60b5a1e11f29a7fd1c279471ac2be6a0698 /ortho/llvm/Makefile | |
parent | f1cbfa0165ced1fc75f8fea817b0e8e3bcfe6b47 (diff) | |
download | ghdl-6a8dd0ee9bd3ec2ffe6ff7fa821af92968008e55.tar.gz ghdl-6a8dd0ee9bd3ec2ffe6ff7fa821af92968008e55.tar.bz2 ghdl-6a8dd0ee9bd3ec2ffe6ff7fa821af92968008e55.zip |
Automatically unnest subprograms for llvm.
Diffstat (limited to 'ortho/llvm/Makefile')
-rw-r--r-- | ortho/llvm/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ortho/llvm/Makefile b/ortho/llvm/Makefile index 2a4d7bd..135dbdf 100644 --- a/ortho/llvm/Makefile +++ b/ortho/llvm/Makefile @@ -1,6 +1,6 @@ ortho_srcdir=.. -GNAT_FLAGS=-gnaty3befhkmr -gnata -gnatf -gnatwael -CC=clang +GNAT_FLAGS=-gnaty3befhkmr -gnata -gnatf -gnatwael -gnat05 +CXX=clang++ --std=c++11 LLVM_CONFIG=llvm-config SED=sed BE=llvm @@ -13,7 +13,7 @@ $(ortho_exec): $(ortho_srcdir)/llvm/ortho_llvm.ads force llvm-cbindings.o -largs llvm-cbindings.o `$(LLVM_CONFIG) --ldflags --libs --system-libs` -lc++ #-static llvm-cbindings.o: $(ortho_srcdir)/llvm/llvm-cbindings.cpp - $(CC) -c -I`$(LLVM_CONFIG) --includedir --cflags` -g -o $@ $< + $(CXX) -c -I`$(LLVM_CONFIG) --includedir --cflags` -g -o $@ $< clean: $(RM) -f *.o *.ali ortho_code_main |