Skip to content

Commit

Permalink
Fixed GCC version bug in CIBB_64b script.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiTronix committed Oct 11, 2021
1 parent 5d0611e commit ea43f16
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build-scripts/CI/CIBB_64b
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,15 @@ else
exit
fi

# exit if GCC < 8.3.0 for buster
if [ "$RPIOS_TYPE" = "buster" ] && [ "$GCC_VERSION" \< "8.3.0" ]; then
# exit if not valid GCC
if [ "$RPIOS_TYPE" = "buster" ] && [ "$GCC_VERSION" != "8.3.0" ]; then
echo "Invalid GCC for buster: $GCC_VERSION!"
exit
fi
if [ "$RPIOS_TYPE" = "stretch" ] && [ "$GCC_VERSION" != "6.3.0" ]; then
echo "Invalid GCC for stretch: $GCC_VERSION!"
exit
fi

#collect build directory if not defined
if [ "$BUILDDIR" = "" ]; then
Expand Down

0 comments on commit ea43f16

Please sign in to comment.