Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ea43f16

Browse files
committedOct 11, 2021
Fixed GCC version bug in CIBB_64b script.
1 parent 5d0611e commit ea43f16

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎build-scripts/CI/CIBB_64b

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,15 @@ else
7171
exit
7272
fi
7373

74-
# exit if GCC < 8.3.0 for buster
75-
if [ "$RPIOS_TYPE" = "buster" ] && [ "$GCC_VERSION" \< "8.3.0" ]; then
74+
# exit if not valid GCC
75+
if [ "$RPIOS_TYPE" = "buster" ] && [ "$GCC_VERSION" != "8.3.0" ]; then
7676
echo "Invalid GCC for buster: $GCC_VERSION!"
7777
exit
7878
fi
79+
if [ "$RPIOS_TYPE" = "stretch" ] && [ "$GCC_VERSION" != "6.3.0" ]; then
80+
echo "Invalid GCC for stretch: $GCC_VERSION!"
81+
exit
82+
fi
7983

8084
#collect build directory if not defined
8185
if [ "$BUILDDIR" = "" ]; then

0 commit comments

Comments
 (0)
Please sign in to comment.