Mercurial > ~darius > hgwebdir.cgi > stm32temp
changeset 47:7d4c25c288bb
Use -O2 to make debugging slightly less annoying.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 03 Apr 2013 23:30:14 +1030 |
parents | 5b7d21698a80 |
children | 2f336d212c74 |
files | BSDmakefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/BSDmakefile Wed Apr 03 23:29:16 2013 +1030 +++ b/BSDmakefile Wed Apr 03 23:30:14 2013 +1030 @@ -32,7 +32,7 @@ # Enable thumb code (since the Cortex M3 only does thumb) COMMONFLAGS+= -mthumb # Debugging & optimisation -COMMONFLAGS+= -g -O3 +COMMONFLAGS+= -g -O2 # Put functions & data in individual sections to allow the linker to optimise (breaks debugging apparently) COMMONFLAGS+= -ffunction-sections -fdata-sections # We aren't using exceptions