summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-02 15:41:07 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-02 20:04:10 +0000
commit08c6f9104ccaa73d24bf1a20c7f074940f7aa22a (patch)
tree6afd16c1977629958f743c98f09e2f74951063ab
parent051eb3ea3155d70ba421ed8493ee58c9ff7e1ede (diff)
downloadrockbox-08c6f9104c.tar.gz
rockbox-08c6f9104c.tar.bz2
rockbox-08c6f9104c.zip
build: add '-fcommon' to the toolchain build flags.
This allows binutils 2.16 to build successfully with GCC10. Change-Id: Iddcd4156720f4fa05936ea459991866fc6e1524d
-rwxr-xr-xtools/rockboxdev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 6b12fa015e..cd653977ee 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -426,7 +426,7 @@ build() {
./configure --prefix=$prefix $configure_params
;;
*)
- CFLAGS='-U_FORTIFY_SOURCE -fgnu89-inline' ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
+ CFLAGS='-U_FORTIFY_SOURCE -fgnu89-inline -fcommon' ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
;;
esac