7 lines
307 B
Plaintext
7 lines
307 B
Plaintext
# Env setup to disable LTO and related warnings for problematic builds
|
|
DISABLE_LTO="-Wno-error=odr -Wno-error=lto-type-mismatch -Wno-error=strict-aliasing -fno-lto"
|
|
CFLAGS="${CFLAGS} ${DISABLE_LTO}"
|
|
CXXFLAGS="${CXXFLAGS} ${DISABLE_LTO}"
|
|
FCFLAGS="${FCFLAGS} ${DISABLE_LTO}"
|
|
FFLAGS="${FFLAGS} ${DISABLE_LTO}"
|