aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-12-24 07:35:20 +0100
committerTristan Gingold <tgingold@free.fr>2014-12-24 07:35:20 +0100
commit7d07fb69e1e52dc0c31a95831506eb1117204aec (patch)
tree4bf74ac7bd1a120b52e6ef7c8cdbde118d0a091b /src/ortho
parentefe968f6d6e30f9cd5265c4301c98ba2175d464d (diff)
downloadghdl-7d07fb69e1e52dc0c31a95831506eb1117204aec.tar.gz
ghdl-7d07fb69e1e52dc0c31a95831506eb1117204aec.tar.bz2
ghdl-7d07fb69e1e52dc0c31a95831506eb1117204aec.zip
Makefiles: add OPT_FLAGS.
Diffstat (limited to 'src/ortho')
-rw-r--r--src/ortho/llvm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ortho/llvm/Makefile b/src/ortho/llvm/Makefile
index 135dbdf4b..0e20086c7 100644
--- a/src/ortho/llvm/Makefile
+++ b/src/ortho/llvm/Makefile
@@ -8,12 +8,12 @@ BE=llvm
all: $(ortho_exec)
$(ortho_exec): $(ortho_srcdir)/llvm/ortho_llvm.ads force llvm-cbindings.o
- gnatmake -m -o $@ -g -aI$(ortho_srcdir)/llvm -aI$(ortho_srcdir) \
+ gnatmake -o $@ -aI$(ortho_srcdir)/llvm -aI$(ortho_srcdir) \
$(GNAT_FLAGS) ortho_code_main -bargs -E \
-largs llvm-cbindings.o `$(LLVM_CONFIG) --ldflags --libs --system-libs` -lc++ #-static
llvm-cbindings.o: $(ortho_srcdir)/llvm/llvm-cbindings.cpp
- $(CXX) -c -I`$(LLVM_CONFIG) --includedir --cflags` -g -o $@ $<
+ $(CXX) -c -I`$(LLVM_CONFIG) --includedir --cflags` -o $@ $<
clean:
$(RM) -f *.o *.ali ortho_code_main