Index: tools/toolchain.sh
===================================================================
--- tools/toolchain.sh	(revision dc69b5c219b4280c87e3479b26127f13e2c295fe)
+++ tools/toolchain.sh	(revision ce52c333dd9013cd4e9c22121ab41c36aee9c7d4)
@@ -362,5 +362,5 @@
 
 	change_title "binutils: configure (${PLATFORM})"
-	CFLAGS=-Wno-error "${BASEDIR}/downloads/binutils-${BINUTILS_VERSION}/configure" \
+	CFLAGS="-Wno-error -fcommon" "${BASEDIR}/downloads/binutils-${BINUTILS_VERSION}/configure" \
 		"--target=${TARGET}" \
 		"--prefix=${PREFIX}" \
@@ -439,5 +439,5 @@
 
 	change_title "GDB: configure (${PLATFORM})"
-	PATH="$PATH:${INSTALL_DIR}/${PREFIX}/bin" "${BASEDIR}/downloads/gdb-${GDB_VERSION}/configure" \
+	CFLAGS="-fcommon" PATH="$PATH:${INSTALL_DIR}/${PREFIX}/bin" "${BASEDIR}/downloads/gdb-${GDB_VERSION}/configure" \
 		"--target=${TARGET}" \
 		"--prefix=${PREFIX}" \
