diff options
author | Xiretza <xiretza@xiretza.xyz> | 2021-05-09 14:32:48 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-05-10 07:56:17 +0200 |
commit | 55a5513c14afb209b06ea86bbb918f6e13f1e50c (patch) | |
tree | 71c24e3b551f8da6a6f44d08b5aef9d153de1532 /src/ortho/mcode | |
parent | b21b4e7b34807156d6d3bc3f8e30a41bf324dfcb (diff) | |
download | ghdl-55a5513c14afb209b06ea86bbb918f6e13f1e50c.tar.gz ghdl-55a5513c14afb209b06ea86bbb918f6e13f1e50c.tar.bz2 ghdl-55a5513c14afb209b06ea86bbb918f6e13f1e50c.zip |
ortho: use LDFLAGS and prefer them over defaults
Diffstat (limited to 'src/ortho/mcode')
-rw-r--r-- | src/ortho/mcode/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ortho/mcode/Makefile b/src/ortho/mcode/Makefile index 791d1f307..25f3c664b 100644 --- a/src/ortho/mcode/Makefile +++ b/src/ortho/mcode/Makefile @@ -10,13 +10,13 @@ all: $(ortho_exec) $(ortho_exec): $(ortho_srcdir)/mcode/ortho_mcode.ads memsegs_c.o force $(GNATMAKE) -o $@ -g -aI$(ortho_srcdir)/mcode -aI$(ortho_srcdir) \ -aI$(ortho_srcdir)/.. $(GNATFLAGS) -gnatw.A ortho_code_main \ - -bargs -E -largs memsegs_c.o #-static + -bargs -E -largs $(LDFLAGS) memsegs_c.o #-static memsegs_c.o: $(ortho_srcdir)/mcode/memsegs_c.c $(CC) -c $(CFLAGS) -o $@ $< oread: $(ortho_srcdir)/mcode/ortho_mcode.ads force - $(GNATMAKE) -m -o $@ -g $(GNATFLAGS) -aI../oread ortho_code_main -aI.. -largs memsegs_c.o + $(GNATMAKE) -m -o $@ -g $(GNATFLAGS) -aI../oread ortho_code_main -aI.. -largs $(LDFLAGS) memsegs_c.o elfdump: force $(GNATMAKE) -m -g $(GNATFLAGS) $@ |