From 906a95ccbf52339230603ee1a0a226b783068386 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 22 Nov 2016 13:04:45 +0100 Subject: [PATCH] rockoxdev.sh: fix compilation of ARM toolchain This will breaks mips but mips is already super hard to build anyway. Change-Id: Ia481a22440758fe72a87e2808f4fb8d31c49cb53 --- tools/rockboxdev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 34ecfce189..5f9d1acbac 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -211,7 +211,7 @@ build() { ./configure --prefix=$prefix $configure_params ;; *) - CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params + CFLAGS='-U_FORTIFY_SOURCE -fgnu89-inline' ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params ;; esac