aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/llvm-nodebug
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2021-05-09 14:32:48 +0200
committertgingold <tgingold@users.noreply.github.com>2021-05-10 07:56:17 +0200
commit55a5513c14afb209b06ea86bbb918f6e13f1e50c (patch)
tree71c24e3b551f8da6a6f44d08b5aef9d153de1532 /src/ortho/llvm-nodebug
parentb21b4e7b34807156d6d3bc3f8e30a41bf324dfcb (diff)
downloadghdl-55a5513c14afb209b06ea86bbb918f6e13f1e50c.tar.gz
ghdl-55a5513c14afb209b06ea86bbb918f6e13f1e50c.tar.bz2
ghdl-55a5513c14afb209b06ea86bbb918f6e13f1e50c.zip
ortho: use LDFLAGS and prefer them over defaults
Diffstat (limited to 'src/ortho/llvm-nodebug')
-rw-r--r--src/ortho/llvm-nodebug/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ortho/llvm-nodebug/Makefile b/src/ortho/llvm-nodebug/Makefile
index 50ddc1bc5..880735857 100644
--- a/src/ortho/llvm-nodebug/Makefile
+++ b/src/ortho/llvm-nodebug/Makefile
@@ -12,7 +12,7 @@ $(ortho_exec): $(ortho_srcdir)/llvm-nodebug/ortho_llvm.ads force llvm-cbindings.
$(GNATMAKE) -o $@ -aI$(ortho_srcdir)/llvm-nodebug -aI$(ortho_srcdir) \
$(GNATFLAGS) ortho_code_main -bargs -E \
-largs llvm-cbindings.o --LINK=$(CXX) \
- $(LDFLAGS) `$(LLVM_CONFIG) --ldflags --libs --system-libs`
+ `$(LLVM_CONFIG) --ldflags --libs --system-libs` $(LDFLAGS)
llvm-cbindings.o: $(ortho_srcdir)/llvm-nodebug/llvm-cbindings.cpp
$(CXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $<