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 @@ -216,7 +216,7 @@ cat gcc/limitx.h gcc/glimits.h gcc/limity.h > $(dirname $($TARGET-gcc -print-lib
216
216
echo " Building Cross GDB Binaries..."
217
217
cd " $DOWNLOADDIR " /gdb-$GDB_VERSION /build || exit
218
218
if [ -n " $( ls -A " $DOWNLOADDIR " /gdb-$GDB_VERSION /build) " ]; then rm -rf " $DOWNLOADDIR " /gdb-$GDB_VERSION /build/* ; fi # cleanup
219
- ../configure --prefix= --target=$TARGET --with-arch=$ARCH --with-fpu=$FPU --with-float=hard
219
+ ../configure --prefix= --target=$TARGET --with-arch=$ARCH --with-fpu=$FPU --with-float=hard -with-sysroot=/ $TARGET /libc --with-build-sysroot= " $SYSROOTDIR "
220
220
make -s -j$( nproc)
221
221
make -s install DESTDIR=" $INSTALLDIR "
222
222
if [ -n " $( ls -A " $DOWNLOADDIR " /gdb-$GDB_VERSION /build) " ]; then rm -rf " $DOWNLOADDIR " /gdb-$GDB_VERSION /build/* ; fi # cleanup
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ cat gcc/limitx.h gcc/glimits.h gcc/limity.h > $(dirname $($TARGET-gcc -print-lib
177
177
echo " Building Cross GDB Binaries..."
178
178
cd " $DOWNLOADDIR " /gdb-$GDB_VERSION /build || exit
179
179
if [ -n " $( ls -A " $DOWNLOADDIR " /gdb-$GDB_VERSION /build) " ]; then rm -rf " $DOWNLOADDIR " /gdb-$GDB_VERSION /build/* ; fi
180
- ../configure --prefix= --target=$TARGET --with-arch=$ARCH --with-float=hard
180
+ ../configure --prefix= --target=$TARGET --with-arch=$ARCH --with-float=hard -with-sysroot=/ $TARGET /libc --with-build-sysroot= " $SYSROOTDIR "
181
181
make -s -j$( nproc)
182
182
make -s install DESTDIR=" $INSTALLDIR "
183
183
if [ -n " $( ls -A " $DOWNLOADDIR " /gdb-$GDB_VERSION /build) " ]; then rm -rf " $DOWNLOADDIR " /gdb-$GDB_VERSION /build/* ; fi
You can’t perform that action at this time.
0 commit comments