summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold2015-11-07 09:44:33 +0100
committerTristan Gingold2015-11-07 09:44:33 +0100
commit282ac48d51693239253429fa8c6bffd8f0565575 (patch)
tree649100dcba302da41c65fee9913cb5a0704d8a53 /src
parent9ebe906c3872c02f0206d295dd2d0062558283ed (diff)
downloadghdl-282ac48d51693239253429fa8c6bffd8f0565575.tar.gz
ghdl-282ac48d51693239253429fa8c6bffd8f0565575.tar.bz2
ghdl-282ac48d51693239253429fa8c6bffd8f0565575.zip
Fix build of mcode utilities.
Diffstat (limited to 'src')
-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 19d5d26..0181ffb 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 $@ $<