File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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
190190 cd glibc-$GLIBC_VERSION || exit
191191 mkdir -p build
192192 # 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
194194 echo " Applying patch!"
195195 curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
196196 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
171171 cd glibc-$GLIBC_VERSION || exit
172172 mkdir -p build
173173 # 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
175175 echo " Applying patch!"
176176 curl -o Makefile.patch https://raw.githubusercontent.com/abhiTronix/raspberry-pi-cross-compilers/master/patches/Makefile.patch
177177 mv Makefile.patch math/Makefile
You can’t perform that action at this time.
0 commit comments