aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPerry Hung <iperry@gmail.com>2011-02-27 02:53:28 -0500
committerPerry Hung <iperry@gmail.com>2011-02-27 02:53:28 -0500
commit68445e8157f2fa5024b0721d1997d4061834c76c (patch)
tree73067aa8cf6f8bd0d7663a634c1f878a78b567ed /Makefile
parentb505ab981859761a9eae9e820c5a06e2210c5dfc (diff)
downloadlibrambutan-68445e8157f2fa5024b0721d1997d4061834c76c.tar.gz
librambutan-68445e8157f2fa5024b0721d1997d4061834c76c.zip
Increase debug symbol output for gdb.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9bf0c9d..a709696 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ LIBMAPLE_PATH := $(SRCROOT)/libmaple
SUPPORT_PATH := $(SRCROOT)/support
# Useful variables
-GLOBAL_CFLAGS := -Os -g -mcpu=cortex-m3 -mthumb -march=armv7-m -nostdlib \
+GLOBAL_CFLAGS := -Os -g3 -gdwarf-2 -mcpu=cortex-m3 -mthumb -march=armv7-m -nostdlib \
-ffunction-sections -fdata-sections -Wl,--gc-sections \
-DBOARD_$(BOARD) -DMCU_$(MCU)
GLOBAL_CXXFLAGS := -fno-rtti -fno-exceptions -Wall -DBOARD_$(BOARD) -DMCU_$(MCU)