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 /tools/rockboxdev.sh | |
parent | 68f3ad34546485f688b964affe80831201281c06 (diff) |
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
Diffstat (limited to 'tools/rockboxdev.sh')
-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 echo "ROCKBOXDEV: cd build-gcc" cd build-gcc echo "ROCKBOXDEV: gcc/configure" -../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure +# we undefine _FORTIFY_SOURCE to make the gcc build go through fine on +# recent Ubuntu installations +CPPFLAGS=-U_FORTIFY_SOURCE ../gcc-$gccver/configure --target=$target --prefix=$prefix/$target --enable-languages=c $gccconfigure echo "ROCKBOXDEV: gcc/make" $make echo "ROCKBOXDEV: gcc/make install to $prefix/$target" |