File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,10 @@ if [ ! -d "gcc-$GCC_VERSION" ]; then
160
160
fi
161
161
tar xf gcc-$GCC_VERSION .tar.gz
162
162
cd gcc-$GCC_VERSION || exit
163
+ if [ " $GCC_VERSION " = " 10.2.0" ]; then
164
+ echo " Applying GCC patch!"
165
+ sed -i -e ' 66i#define PATH_MAX 4096\' libsanitizer/asan/asan_linux.cpp
166
+ fi
163
167
mkdir -p build
164
168
if [ " $GCC_VERSION " = " 6.3.0" ]; then
165
169
sed -i contrib/download_prerequisites -e ' s/ftp/http/'
Original file line number Diff line number Diff line change @@ -141,6 +141,10 @@ if [ ! -d "gcc-$GCC_VERSION" ]; then
141
141
fi
142
142
tar xf gcc-$GCC_VERSION .tar.gz
143
143
cd gcc-$GCC_VERSION || exit
144
+ if [ " $GCC_VERSION " = " 10.2.0" ]; then
145
+ echo " Applying GCC patch!"
146
+ sed -i -e ' 66i#define PATH_MAX 4096\' libsanitizer/asan/asan_linux.cpp
147
+ fi
144
148
mkdir -p build
145
149
if [ " $GCC_VERSION " = " 6.3.0" ]; then
146
150
sed -i contrib/download_prerequisites -e ' s/ftp/http/'
Original file line number Diff line number Diff line change @@ -172,6 +172,10 @@ if [ ! -d "gcc-$GCCBASE_VERSION" ]; then
172
172
if [ ! -f " gcc-$GCCBASE_VERSION .tar.gz" ]; then wget -q --no-check-certificate https://ftp.gnu.org/gnu/gcc/gcc-$GCCBASE_VERSION /gcc-$GCCBASE_VERSION .tar.gz; fi
173
173
tar xf gcc-$GCCBASE_VERSION .tar.gz
174
174
cd gcc-$GCCBASE_VERSION || exit
175
+ if [ " $GCCBASE_VERSION " = " 10.2.0" ]; then
176
+ echo " Applying GCC patch!"
177
+ sed -i -e ' 66i#define PATH_MAX 4096\' libsanitizer/asan/asan_linux.cpp
178
+ fi
175
179
mkdir -p build
176
180
if [ " $GCCBASE_VERSION " = " 6.3.0" ]; then
177
181
sed -i contrib/download_prerequisites -e ' s/ftp/http/'
Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ if [ ! -d "gcc-$GCCBASE_VERSION" ]; then
153
153
fi
154
154
tar xf gcc-$GCCBASE_VERSION .tar.gz
155
155
cd gcc-$GCCBASE_VERSION || exit
156
+ if [ " $GCCBASE_VERSION " = " 10.2.0" ]; then
157
+ echo " Applying GCC patch!"
158
+ sed -i -e ' 66i#define PATH_MAX 4096\' libsanitizer/asan/asan_linux.cpp
159
+ fi
156
160
mkdir -p build
157
161
if [ " $GCCBASE_VERSION " = " 6.3.0" ]; then
158
162
sed -i contrib/download_prerequisites -e ' s/ftp/http/'
You can’t perform that action at this time.
0 commit comments