Skip to content

Commit 199d03a

Browse files
committed
release: update contrib/release/build.sh recipe for -equation-gcc-8.3
- patch in wildcard expansion when making the fbc binary
1 parent cd390f4 commit 199d03a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

contrib/release/build.sh

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ get_mingww64_toolchain() {
394394
7z x "../input/MinGW-w64/$file" > /dev/null
395395
;;
396396
esac
397-
}
397+
}
398398

399399
case "$target" in
400400
dos)
@@ -407,7 +407,7 @@ dos)
407407
download "DJGPP/${package}.zip" "${DJGPP_MIRROR}${dir}${package}.zip"
408408
}
409409

410-
djver=205
410+
djver=205
411411
gccver=710
412412
djgppgccversiondir=7
413413
bnuver=229
@@ -489,7 +489,7 @@ win32-mingworg)
489489

490490
# Add ddraw.h and dinput.h for FB's gfxlib2
491491

492-
# if ddraw.h & dinput.h were added manually:
492+
# if ddraw.h & dinput.h were added manually:
493493
# copyfile "../input/MinGW.org/ddraw.h" "include/ddraw.h"
494494
# copyfile "../input/MinGW.org/dinput.h" "include/dinput.h"
495495

@@ -734,6 +734,19 @@ windowsbuild() {
734734
echo "rebuilding normal fbc"
735735
echo
736736
make clean-compiler
737+
738+
case "$toolchain" in
739+
equation)
740+
# hack:
741+
# patch in crt_glob.bas to enable command line wildard expansion
742+
# equation-crt-glob.bas:
743+
# extern as integer _dowildcard alias "_dowildcard"
744+
# dim shared _dowildcard as integer = -1
745+
# careful, this adds the module to the bootstrap and source packages
746+
cp ../../input/fbc/contrib/release/equation-crt-glob.bas src/compiler/equation-crt-glob.bas
747+
;;
748+
esac
749+
737750
case "$target" in
738751
win32-mingworg) make FBSHA1=$FBSHA1 CFLAGS=-DDISABLE_D3D10;;
739752
*) make FBSHA1=$FBSHA1;;
@@ -778,7 +791,6 @@ windowsbuild() {
778791
exit 1
779792
;;
780793
esac
781-
782794
;;
783795
-winlibs-gcc-8.4.0)
784796
# -winlibs-gcc-X.X is being built from winlibs and the binutils have a few dependencies

0 commit comments

Comments
 (0)