diff options
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-x | util/crossgcc/buildgcc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index b3deda5f3d..273f921a15 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -579,7 +579,10 @@ build_BINUTILS() { --target=${TARGETARCH} --enable-targets=${TARGETARCH}${ADDITIONALTARGET} \ --disable-werror --disable-nls --enable-lto --enable-gold \ --enable-interwork --enable-multilib \ - --enable-plugins --enable-multilibs CFLAGS="$HOSTCFLAGS" || touch .failed + --enable-plugins --enable-multilibs + CFLAGS="$HOSTCFLAGS" \ + CXXFLAGS="$HOSTCFLAGS" \ + || touch .failed $MAKE $JOBS || touch .failed $MAKE install DESTDIR=$DESTDIR || touch .failed } |