aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/mcode
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-11-07 09:44:33 +0100
committerTristan Gingold <tgingold@free.fr>2015-11-07 09:44:33 +0100
commit282ac48d51693239253429fa8c6bffd8f0565575 (patch)
tree649100dcba302da41c65fee9913cb5a0704d8a53 /src/ortho/mcode
parent9ebe906c3872c02f0206d295dd2d0062558283ed (diff)
downloadghdl-282ac48d51693239253429fa8c6bffd8f0565575.tar.gz
ghdl-282ac48d51693239253429fa8c6bffd8f0565575.tar.bz2
ghdl-282ac48d51693239253429fa8c6bffd8f0565575.zip
Fix build of mcode utilities.
Diffstat (limited to 'src/ortho/mcode')
-rw-r--r--src/ortho/mcode/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ortho/mcode/Makefile b/src/ortho/mcode/Makefile
index 19d5d26aa..0181ffb85 100644
--- a/src/ortho/mcode/Makefile
+++ b/src/ortho/mcode/Makefile
@@ -8,7 +8,8 @@ all: $(ortho_exec)
$(ortho_exec): $(ortho_srcdir)/mcode/ortho_mcode.ads memsegs_c.o force
gnatmake -m -o $@ -g -aI$(ortho_srcdir)/mcode -aI$(ortho_srcdir) \
- $(GNAT_FLAGS) ortho_code_main -bargs -E -largs memsegs_c.o #-static
+ -aI$(ortho_srcdir)/.. $(GNAT_FLAGS) ortho_code_main \
+ -bargs -E -largs memsegs_c.o #-static
memsegs_c.o: $(ortho_srcdir)/mcode/memsegs_c.c
$(CC) -c $(CFLAGS) -o $@ $<