Created
May 30, 2016 21:21
-
-
Save pamaury/595b92a63f1e79f435c9ebad85c01054 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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