aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 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 $@ $<