aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/llvm4-nodebug
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-12 10:23:18 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-12 10:23:18 +0100
commit96c3a5d13e5444385dbc7b2e237b5a2765e26474 (patch)
tree90dbc944961ae38ea8aa18797d97626a5bc94ab6 /src/ortho/llvm4-nodebug
parent81e26d46aa1bd19b43bcaa6f20ad68a35da7271c (diff)
downloadghdl-96c3a5d13e5444385dbc7b2e237b5a2765e26474.tar.gz
ghdl-96c3a5d13e5444385dbc7b2e237b5a2765e26474.tar.bz2
ghdl-96c3a5d13e5444385dbc7b2e237b5a2765e26474.zip
llvm4-nodebug: add verbosity to debug CI failures.
Diffstat (limited to 'src/ortho/llvm4-nodebug')
-rw-r--r--src/ortho/llvm4-nodebug/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ortho/llvm4-nodebug/Makefile b/src/ortho/llvm4-nodebug/Makefile
index 3f02d75ef..fd4ea044c 100644
--- a/src/ortho/llvm4-nodebug/Makefile
+++ b/src/ortho/llvm4-nodebug/Makefile
@@ -6,13 +6,17 @@ GNATMAKE=gnatmake
SED=sed
BE=llvm4-nodebug
+LLVM_LDFLAGS=$(LLVM_CONFIG) --ldflags --libs --system-libs
+
all: $(ortho_exec)
$(ortho_exec): $(ortho_srcdir)/llvm4-nodebug/ortho_llvm.ads force llvm-cbindings.o
+ @echo "llvm ldflags cmd: $(LLVM_LDFLAGS)"
+ @echo "llvm ldflags: `$(LLVM_LDFLAGS)`"
$(GNATMAKE) -o $@ -aI$(ortho_srcdir)/llvm4-nodebug -aI$(ortho_srcdir) \
$(GNATFLAGS) ortho_code_main -bargs -E \
-largs llvm-cbindings.o --LINK=$(CXX) \
- $(LDFLAGS) `$(LLVM_CONFIG) --ldflags --libs --system-libs`
+ $(LDFLAGS) `$(LLVM_LDFLAGS)`
llvm-cbindings.o: $(ortho_srcdir)/llvm4-nodebug/llvm-cbindings.cpp
$(CXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $<