Skip to content

Commit 89a825b

Browse files
committed
common-versions: check_patch
1 parent 69eacbd commit 89a825b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/common-versions-source.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ function build_versions()
166166
GCC_ARCHIVE_URL="https://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/${GCC_ARCHIVE_NAME}"
167167

168168
GCC_PATCH_FILE_NAME="gcc-${GCC_VERSION}-cross.patch.diff"
169+
check_patch "${GCC_PATCH_FILE_NAME}"
169170

170171
# https://www.sourceware.org/ftp/newlib/index.html
171172
# ftp://sourceware.org/pub/newlib/newlib-4.2.0.20211231.tar.gz
@@ -191,6 +192,7 @@ function build_versions()
191192

192193
# Mandatory, otherwise gdb-py3 is not relocatable.
193194
GDB_PATCH_FILE_NAME="gdb-${GDB_VERSION}-cross.patch.diff"
195+
check_patch "${GDB_PATCH_FILE_NAME}"
194196

195197
# -------------------------------------------------------------------------
196198

0 commit comments

Comments
 (0)