Skip to content

Instantly share code, notes, and snippets.

Created May 27, 2016 12:15
Show Gist options
  • Save anonymous/792c80e64836fd080a59389cd97e031f to your computer and use it in GitHub Desktop.
Save anonymous/792c80e64836fd080a59389cd97e031f to your computer and use it in GitHub Desktop.
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 34ecfce..6232546 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -211,7 +211,7 @@ build() {
./configure --prefix=$prefix $configure_params
;;
*)
- CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
+ CFLAGS="-U_FORTIFY_SOURCE -fgnu89-inline" ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
;;
esac
@@ -366,12 +366,8 @@ do
;;
[Ii])
- build "binutils" "mipsel-elf" "2.17" "" "--disable-werror"
- patch=""
- if [ "$system" = "Interix" ]; then
- patch="gcc-4.1.2-interix.diff"
- fi
- build "gcc" "mipsel-elf" "4.1.2" "$patch"
+ build "binutils" "mipsel-elf" "2.22" "" "--disable-werror"
+ build "gcc" "mipsel-elf" "4.6.3" "" "MAKEINFO=missing" "gmp mpfr mpc"
;;
[Mm])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment