summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/rockboxdev.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 0d07b32821..800d294fd3 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -277,7 +277,9 @@ mkdir build-binu
277echo "ROCKBOXDEV: cd build-binu" 277echo "ROCKBOXDEV: cd build-binu"
278cd build-binu 278cd build-binu
279echo "ROCKBOXDEV: binutils/configure" 279echo "ROCKBOXDEV: binutils/configure"
280../binutils-$binutils/configure --target=$target --prefix=$prefix/$target $binutilsconf 280# we undefine _FORTIFY_SOURCE to make the binutils built run fine on recent
281# Ubuntu installations
282CFLAGS=-U_FORTIFY_SOURCE ../binutils-$binutils/configure --target=$target --prefix=$prefix/$target $binutilsconf
281echo "ROCKBOXDEV: binutils/make" 283echo "ROCKBOXDEV: binutils/make"
282$make 284$make
283echo "ROCKBOXDEV: binutils/make install to $prefix/$target" 285echo "ROCKBOXDEV: binutils/make install to $prefix/$target"
@@ -293,7 +295,7 @@ cd build-gcc
293echo "ROCKBOXDEV: gcc/configure" 295echo "ROCKBOXDEV: gcc/configure"
294# we undefine _FORTIFY_SOURCE to make the gcc build go through fine on 296# we undefine _FORTIFY_SOURCE to make the gcc build go through fine on
295# recent Ubuntu installations 297# recent Ubuntu installations
296CPPFLAGS=-U_FORTIFY_SOURCE ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure 298CFLAGS=-U_FORTIFY_SOURCE ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure
297echo "ROCKBOXDEV: gcc/make" 299echo "ROCKBOXDEV: gcc/make"
298$make 300$make
299echo "ROCKBOXDEV: gcc/make install to $prefix/$target" 301echo "ROCKBOXDEV: gcc/make install to $prefix/$target"