build_cross_tools (GCC2): Use -std=gnu89 for GCC 13 also.
It shouldn't hurt, and may fix the build in more environments.
This commit is contained in:
@@ -126,7 +126,7 @@ CC_VERSION=`$CC -dumpversion`
|
|||||||
if [ ${CC_VERSION%%.*} -ge 10 ]; then
|
if [ ${CC_VERSION%%.*} -ge 10 ]; then
|
||||||
export CC="$CC -fcommon"
|
export CC="$CC -fcommon"
|
||||||
fi
|
fi
|
||||||
if [ ${CC_VERSION%%.*} -ge 14 ]; then
|
if [ ${CC_VERSION%%.*} -ge 13 ]; then
|
||||||
export CC="$CC -std=gnu89"
|
export CC="$CC -std=gnu89"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user