diff options
-rwxr-xr-x | tools/rockboxdev.sh | 6 |
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 | |||
277 | echo "ROCKBOXDEV: cd build-binu" | 277 | echo "ROCKBOXDEV: cd build-binu" |
278 | cd build-binu | 278 | cd build-binu |
279 | echo "ROCKBOXDEV: binutils/configure" | 279 | echo "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 | ||
282 | CFLAGS=-U_FORTIFY_SOURCE ../binutils-$binutils/configure --target=$target --prefix=$prefix/$target $binutilsconf | ||
281 | echo "ROCKBOXDEV: binutils/make" | 283 | echo "ROCKBOXDEV: binutils/make" |
282 | $make | 284 | $make |
283 | echo "ROCKBOXDEV: binutils/make install to $prefix/$target" | 285 | echo "ROCKBOXDEV: binutils/make install to $prefix/$target" |
@@ -293,7 +295,7 @@ cd build-gcc | |||
293 | echo "ROCKBOXDEV: gcc/configure" | 295 | echo "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 |
296 | CPPFLAGS=-U_FORTIFY_SOURCE ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure | 298 | CFLAGS=-U_FORTIFY_SOURCE ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure |
297 | echo "ROCKBOXDEV: gcc/make" | 299 | echo "ROCKBOXDEV: gcc/make" |
298 | $make | 300 | $make |
299 | echo "ROCKBOXDEV: gcc/make install to $prefix/$target" | 301 | echo "ROCKBOXDEV: gcc/make install to $prefix/$target" |