diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-10-29 08:32:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-10-29 08:32:34 +0000 |
commit | 3bfc51d894536a411c4a0da85c0a428f341d8b80 (patch) | |
tree | 883f182416e802cd5882d3d4eafe81ef4816abbd | |
parent | 68f3ad34546485f688b964affe80831201281c06 (diff) | |
download | rockbox-3bfc51d894536a411c4a0da85c0a428f341d8b80.tar.gz rockbox-3bfc51d894536a411c4a0da85c0a428f341d8b80.zip |
set "CPPFLAGS=-U_FORTIFY_SOURCE" when the gcc configure is invoked to make it
work fine on the latest Ubuntu as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18918 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-x | tools/rockboxdev.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 72c883bbce..eb36a8ff66 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh | |||
@@ -285,7 +285,9 @@ mkdir build-gcc | |||
285 | echo "ROCKBOXDEV: cd build-gcc" | 285 | echo "ROCKBOXDEV: cd build-gcc" |
286 | cd build-gcc | 286 | cd build-gcc |
287 | echo "ROCKBOXDEV: gcc/configure" | 287 | echo "ROCKBOXDEV: gcc/configure" |
288 | ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure | 288 | # we undefine _FORTIFY_SOURCE to make the gcc build go through fine on |
289 | # recent Ubuntu installations | ||
290 | CPPFLAGS=-U_FORTIFY_SOURCE ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure | ||
289 | echo "ROCKBOXDEV: gcc/make" | 291 | echo "ROCKBOXDEV: gcc/make" |
290 | $make | 292 | $make |
291 | echo "ROCKBOXDEV: gcc/make install to $prefix/$target" | 293 | echo "ROCKBOXDEV: gcc/make install to $prefix/$target" |