Remove DSPDLOG_FMT_EXTERNAL from gcc 10+ compiler flags, since it caused errors on 64-bit systems, and it seems to work without it on 32-bit systems. (#501)

This commit is contained in:
Daniel Markstedt 2021-12-01 01:16:59 -08:00 committed by GitHub
parent 5775cd1fb2
commit d4f30a4e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ function compileRaScsi() {
# Compiler flags needed for gcc v10 and up # Compiler flags needed for gcc v10 and up
if [[ `gcc --version | awk '/gcc/' | awk -F ' ' '{print $3}' | awk -F '.' '{print $1}'` -ge 10 ]]; then if [[ `gcc --version | awk '/gcc/' | awk -F ' ' '{print $3}' | awk -F '.' '{print $1}'` -ge 10 ]]; then
echo -n "gcc 10 or later detected. Will compile with the following flags: " echo -n "gcc 10 or later detected. Will compile with the following flags: "
COMPILER_FLAGS="-DSPDLOG_FMT_EXTERNAL -DFMT_HEADER_ONLY" COMPILER_FLAGS="-DFMT_HEADER_ONLY"
echo $COMPILER_FLAGS echo $COMPILER_FLAGS
fi fi