diff options
author | Bernhard Reutner-Fischer | 2006-12-13 17:44:24 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-12-13 17:44:24 +0000 |
commit | 9729e65706f46bd04d6e5946e20bd3c7ff4d7cc3 (patch) | |
tree | 2bd5bec2983193a9a3d84b9b849231adaf39654c /Makefile.flags | |
parent | 5b6f776fe9f71b2266c3d3923a93ffb2d1009fdb (diff) | |
download | busybox-9729e65706f46bd04d6e5946e20bd3c7ff4d7cc3.zip busybox-9729e65706f46bd04d6e5946e20bd3c7ff4d7cc3.tar.gz |
- honor CONFIG_DEBUG
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index bb5cef0..0261d34 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -20,3 +20,9 @@ CFLAGS += \ -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \ -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \ -fomit-frame-pointer -ffunction-sections -fdata-sections + +ifeq ($(CONFIG_DEBUG),y) +CFLAGS += -g +LDFLAGS += -g +endif + |