diff options
author | Rob Austein <sra@hactrn.net> | 2017-06-17 21:56:02 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2017-06-17 21:56:02 -0400 |
commit | 0d33ff82c8b9436d83e6bf20a12de3d53c8ae591 (patch) | |
tree | c10cd89de68befe9c837b5e614126a4f89f0350c /Makefile | |
parent | a93c94f554667564393216fe984b46e686c825b3 (diff) |
Fix optimization settings in HSM's build of libtfm.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -88,13 +88,14 @@ SIZE=$(PREFIX)size # The Alpha is a development platform, so set GCC optimization to a # level suitable for debugging. Recent versions of GCC have a special -# optimization setting -Og for exactly this purpose, so we use it, along -# with the flag to enable gdb symbols. +# optimization setting -Og for exactly this purpose, so we use it, +# along with the flag to enable gdb symbols. Note that some libraries +# (in particular, libtfm) may need different optimization settings, +# which is why this needs to remain a separate makefile variable. # -# If you really want optimization without debugging support, try -O2 or -# (maybe) -O3. +# If you really want optimization without debugging support, try -O2 +# or -O3. -#STM32_CFLAGS_OPTIMIZATION ?= -O2 STM32_CFLAGS_OPTIMIZATION ?= -ggdb -Og # whew, that's a lot of cflags |