diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 6 | ||||
-rwxr-xr-x | tools/rockboxdev.sh | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/tools/configure b/tools/configure index 4059a95a68..08d07b7797 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -3707,12 +3707,6 @@ if test "$CC" = "sh-elf-gcc"; then | |||
3707 | echo "WARNING: You use an unpatched gcc compiler: $gccver" | 3707 | echo "WARNING: You use an unpatched gcc compiler: $gccver" |
3708 | echo "WARNING: http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler" | 3708 | echo "WARNING: http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler" |
3709 | fi | 3709 | fi |
3710 | |||
3711 | if test "$gccnum" -ge "406"; then | ||
3712 | echo "Enabling link-time optimization" | ||
3713 | GCCOPTS="$GCCOPTS -flto" | ||
3714 | fi | ||
3715 | |||
3716 | fi | 3710 | fi |
3717 | fi | 3711 | fi |
3718 | 3712 | ||
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 78641b5b23..996aa86aea 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh | |||
@@ -361,8 +361,8 @@ do | |||
361 | # default rule for Objective C. Disable the builtin make rules. See | 361 | # default rule for Objective C. Disable the builtin make rules. See |
362 | # http://sourceware.org/ml/binutils/2005-12/msg00259.html | 362 | # http://sourceware.org/ml/binutils/2005-12/msg00259.html |
363 | export MAKEFLAGS="-r $MAKEFLAGS" | 363 | export MAKEFLAGS="-r $MAKEFLAGS" |
364 | build "binutils" "sh-elf" "2.22" "" "--disable-werror" | 364 | build "binutils" "sh-elf" "2.16.1" "" "--disable-werror" |
365 | build "gcc" "sh-elf" "4.6.3" "" "" "gmp mpfr mpc" | 365 | build "gcc" "sh-elf" "4.0.3" "gcc-4.0.3-rockbox-1.diff" |
366 | ;; | 366 | ;; |
367 | 367 | ||
368 | [Ii]) | 368 | [Ii]) |