aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/msys2-mcode/PKGBUILD2
-rw-r--r--scripts/windows/mcode/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/msys2-mcode/PKGBUILD b/scripts/msys2-mcode/PKGBUILD
index 853b0429b..012160139 100644
--- a/scripts/msys2-mcode/PKGBUILD
+++ b/scripts/msys2-mcode/PKGBUILD
@@ -18,7 +18,7 @@ build() {
cd "${srcdir}/builddir"
../../../../configure \
--prefix=${MINGW_PREFIX} \
- LDFLAGS=-static \
+ LDFLAGS="-static -Wl,--stack=8388608" \
--enable-libghdl \
--enable-synth
make GNATMAKE="gnatmake -j$(nproc)"
diff --git a/scripts/windows/mcode/Makefile.in b/scripts/windows/mcode/Makefile.in
index be1f11516..0f7b7422d 100644
--- a/scripts/windows/mcode/Makefile.in
+++ b/scripts/windows/mcode/Makefile.in
@@ -14,7 +14,7 @@ GRTSRCDIR=grt
####grt Makefile.inc
ghdl_mcode: default_paths.ads $(GRT_ADD_OBJS) mmap_binding.o force
- gnatmake -aIghdldrv -aIghdl -aIortho -aIgrt $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs mmap_binding.o $(GNAT_LARGS) $(GRT_ADD_OBJS) $(GRT_EXTRA_LIB) -Wl,--version-script=$(GRTSRCDIR)/grt.ver -Wl,--export-dynamic
+ gnatmake -aIghdldrv -aIghdl -aIortho -aIgrt $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs mmap_binding.o $(GRT_ADD_OBJS) $(GRT_EXTRA_LIB) -Wl,--version-script=$(GRTSRCDIR)/grt.ver -Wl,--export-dynamic
mmap_binding.o: ortho/mmap_binding.c
$(CC) -c -g -o $@ $<