summaryrefslogtreecommitdiff
path: root/tools/rockboxdev.sh
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-11 03:54:54 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-11 03:54:54 +0000
commitfe7ca44471b309a0adea563cce947de9efb62ab5 (patch)
tree8cf64c0d1a1efa0533ba15d41a67a375cd180156 /tools/rockboxdev.sh
parent5fea0056107fee73fb385c79fb3cea00cd4e6d52 (diff)
rockboxdev: build with -U_FORTIFY_SOURCE
It is needed on Ubuntu at least, else gcc fails to build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26755 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/rockboxdev.sh')
-rwxr-xr-xtools/rockboxdev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index f487fe01c4..1147b675db 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -187,7 +187,7 @@ build() {
cd build-$toolname
echo "ROCKBOXDEV: $toolname/configure"
- ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
+ CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
echo "ROCKBOXDEV: $toolname/make"
$make -j8