Remove linker map generation, other unnecessary(?) flags.

This commit is contained in:
Jared Boone 2016-07-03 18:33:36 -07:00
parent b6fe392512
commit 0899c48735

View File

@ -69,7 +69,7 @@ set(ASFLAGS "${MCFLAGS} ${ADEFS}")
set(ASXFLAGS "${MCFLAGS} ${ADEFS}")
set(CFLAGS "${MCFLAGS} ${OPT} ${COPT} ${CWARN}")
set(CPPFLAGS "${MCFLAGS} ${OPT} ${CPPOPT} ${CPPWARN}")
set(LDFLAGS "-nostartfiles -Wl,-Map=${PROJECT_NAME}.map,--cref,--no-warn-mismatch,--library-path=${RULESPATH},--script=${LDSCRIPT}${LDOPT}")
set(LDFLAGS "-nostartfiles -Wl,--library-path=${RULESPATH},--script=${LDSCRIPT}${LDOPT}")
# Thumb interwork enabled only if needed because it kills performance.
if(DEFINED TSRC)