Skip to content

Commit cf9e641

Browse files
committed
release: pass FBSHA1 option to make process
1 parent bf56577 commit cf9e641

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

contrib/release/build.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ echo rebuilding normal fbc:
461461
cd fbc
462462
make clean-compiler
463463
if ERRORLEVEL 1 exit /b
464-
make
464+
make FBSHA1=1
465465
if ERRORLEVEL 1 exit /b
466466
make install
467467
if ERRORLEVEL 1 exit /b
@@ -474,7 +474,7 @@ set DJGPP=$dospath/djgpp.env
474474
set PATH=$dospath/bin
475475
476476
cd fbc
477-
make ENABLE_STANDALONE=1
477+
make ENABLE_STANDALONE=1 FBSHA1=1
478478
if ERRORLEVEL 1 exit /b
479479
cd ..
480480
EOF
@@ -496,8 +496,8 @@ EOF
496496
cp lib/gcc/djgpp/$djgppgccversiondir/libgcc.a fbc/lib/dos/
497497

498498
cd fbc
499-
make bindist TARGET_OS=dos DISABLE_DOCS=1
500-
make bindist TARGET_OS=dos ENABLE_STANDALONE=1
499+
make bindist TARGET_OS=dos DISABLE_DOCS=1 FBSHA1=1
500+
make bindist TARGET_OS=dos ENABLE_STANDALONE=1 FBSHA1=1
501501
cd ..
502502

503503
cp fbc/*.zip ../output
@@ -519,7 +519,7 @@ linuxbuild() {
519519
make FBC=../tempinstall/bin/fbc
520520
cd ..
521521

522-
cd fbc && make bindist && cd ..
522+
cd fbc && make bindist FBSHA1=1 && cd ..
523523
cp fbc/*.tar.* ../output
524524
cp fbc/contrib/manifest/FreeBASIC-$fbtarget.lst ../output
525525
}
@@ -599,15 +599,15 @@ windowsbuild() {
599599
echo "rebuilding normal fbc"
600600
echo
601601
make clean-compiler
602-
make
602+
make FBSHA1=1
603603
cd ..
604604

605605
cd fbc
606606
echo
607607
echo "building standalone fbc"
608608
echo
609609
rm src/compiler/obj/$fbtarget/fbc.o
610-
make ENABLE_STANDALONE=1
610+
make ENABLE_STANDALONE=1 FBSHA1=1
611611
cd ..
612612

613613
mkdir -p fbc/bin/$fbtarget
@@ -657,12 +657,12 @@ windowsbuild() {
657657
cd fbc
658658
case "$target" in
659659
win32|win64)
660-
make bindist DISABLE_DOCS=1 FBPACKSUFFIX=$recipe
661-
make bindist ENABLE_STANDALONE=1 FBPACKSUFFIX=$recipe
660+
make bindist DISABLE_DOCS=1 FBPACKSUFFIX=$recipe FBSHA1=1
661+
make bindist ENABLE_STANDALONE=1 FBPACKSUFFIX=$recipe FBSHA1=1
662662
;;
663663
win32-mingworg)
664-
make bindist DISABLE_DOCS=1 FBPACKSUFFIX=-mingworg
665-
make bindist ENABLE_STANDALONE=1 FBPACKSUFFIX=-mingworg
664+
make bindist DISABLE_DOCS=1 FBPACKSUFFIX=-mingworg FBSHA1=1
665+
make bindist ENABLE_STANDALONE=1 FBPACKSUFFIX=-mingworg FBSHA1=1
666666
;;
667667
esac
668668
cd ..

0 commit comments

Comments
 (0)