File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ if [ ! -d "glibc-$GLIBC_VERSION" ]; then
190
190
cd glibc-$GLIBC_VERSION || exit
191
191
mkdir -p build
192
192
# apply critical patch if Glibc 2.31 and GCC 10 series are being built
193
- if [[ " $GCCBASE_VERSION " =~ ^10.* ]] && [ " $GLIBC_VERSION " = " 2.31" ]; then
193
+ if [[ " $GCC_VERSION " =~ ^10.* ]] && [ " $GLIBC_VERSION " = " 2.31" ]; then
194
194
echo " Applying patch!"
195
195
curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
196
196
mv Makefile.patch math/Makefile
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ if [ ! -d "glibc-$GLIBC_VERSION" ]; then
171
171
cd glibc-$GLIBC_VERSION || exit
172
172
mkdir -p build
173
173
# apply critical patch if Glibc 2.31 and GCC 10 series are being built
174
- if [[ " $GCCBASE_VERSION " =~ ^10.* ]] && [ " $GLIBC_VERSION " = " 2.31" ]; then
174
+ if [[ " $GCC_VERSION " =~ ^10.* ]] && [ " $GLIBC_VERSION " = " 2.31" ]; then
175
175
echo " Applying patch!"
176
176
curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
177
177
mv Makefile.patch math/Makefile
You can’t perform that action at this time.
0 commit comments