File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124
124
if : success()
125
125
- name : install
126
126
run : |
127
- sudo apt-get -y install -qq gcc g++ gperf flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget
127
+ sudo apt-get -y install -qq gcc g++ gperf gcc-multilib libc6-i386 libc6-dev-i386 flex texinfo pigz gawk gfortran texinfo bison libncurses-dev ccache autoconf automake build-essential libssh2-1-dev openssl libcurl3 unzip wget
128
128
sudo /usr/sbin/update-ccache-symlinks
129
129
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
130
130
source ~/.bashrc && echo $PATH
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ echo "Building GCC Desktop GCC $GCC_VERSION Binaries..."
149
149
mkdir -p " $BUILDDIR " /pi-gcc-" $GCC_VERSION " -$FOLDER_VERSION
150
150
cd " $DOWNLOADDIR " /gcc-" $GCC_VERSION " /build || exit
151
151
if [ -n " $( ls -A " $DOWNLOADDIR " /gcc-" $GCC_VERSION " /build) " ]; then rm -rf " $DOWNLOADDIR " /gcc-" $GCC_VERSION " /build/* ; fi
152
- ../configure CFLAGS=" $C_FLAGS " --prefix= --build=" $MACHTYPE " --host=" $MACHTYPE " --target=$TARGET --enable-languages=$LANGUAGES --with-arch=$ARCH --disable-multilib --program-suffix=-" $GCC_VERSION "
152
+ ../configure CFLAGS=" $C_FLAGS " CXXFLAGS= " $C_FLAGS " --prefix= --build=" $MACHTYPE " --host=" $MACHTYPE " --target=$TARGET --enable-languages=$LANGUAGES --with-arch=$ARCH --disable-multilib --program-suffix=-" $GCC_VERSION "
153
153
make -s -j$( nproc)
154
154
make -s install-strip DESTDIR=" $BUILDDIR " /pi-gcc-" $GCC_VERSION " -$FOLDER_VERSION
155
155
if [ -n " $( ls -A " $DOWNLOADDIR " /gcc-" $GCC_VERSION " /build) " ]; then rm -rf " $DOWNLOADDIR " /gcc-" $GCC_VERSION " /build/* ; fi
@@ -159,7 +159,7 @@ cat gcc/limitx.h gcc/glimits.h gcc/limity.h > "$BUILDDIR"/pi-gcc-"$GCC_VERSION"-
159
159
echo " Building Desktop GDB Binaries..."
160
160
cd " $DOWNLOADDIR " /gdb-$GDB_VERSION /build || exit
161
161
if [ -n " $( ls -A " $DOWNLOADDIR " /gdb-$GDB_VERSION /build) " ]; then rm -rf " $DOWNLOADDIR " /gdb-$GDB_VERSION /build/* ; fi
162
- ../configure CFLAGS=" $C_FLAGS " --prefix= --build=" $MACHTYPE " --host=" $MACHTYPE " --target=$TARGET --with-arch=$ARCH --program-suffix=-" $GCC_VERSION "
162
+ ../configure CFLAGS=" $C_FLAGS " CXXFLAGS= " $C_FLAGS " --prefix= --build=" $MACHTYPE " --host=" $MACHTYPE " --target=$TARGET --with-arch=$ARCH --program-suffix=-" $GCC_VERSION "
163
163
make -s -j$( nproc)
164
164
make -s install DESTDIR=" $BUILDDIR " /pi-gcc-" $GCC_VERSION " -$FOLDER_VERSION
165
165
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