forked from len0rd/rockbox
build: add '-fcommon' to the toolchain build flags.
This allows binutils 2.16 to build successfully with GCC10. Change-Id: Iddcd4156720f4fa05936ea459991866fc6e1524d
This commit is contained in:
parent
051eb3ea31
commit
08c6f9104c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue