diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-13 17:44:24 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-13 17:44:24 +0000 |
commit | 220fb3aa9c74dfcf7e161fa2f3214a6353bbafe3 (patch) | |
tree | 2bd5bec2983193a9a3d84b9b849231adaf39654c /Makefile.flags | |
parent | 9fccfe4d1cbadefa94ca4ec50cb2aba2a88d335b (diff) | |
download | busybox-w32-220fb3aa9c74dfcf7e161fa2f3214a6353bbafe3.tar.gz busybox-w32-220fb3aa9c74dfcf7e161fa2f3214a6353bbafe3.tar.bz2 busybox-w32-220fb3aa9c74dfcf7e161fa2f3214a6353bbafe3.zip |
- honor CONFIG_DEBUG
git-svn-id: svn://busybox.net/trunk/busybox@16900 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 bb5cef0d9..0261d34df 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -20,3 +20,9 @@ CFLAGS += \ | |||
20 | -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \ | 20 | -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \ |
21 | -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \ | 21 | -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \ |
22 | -fomit-frame-pointer -ffunction-sections -fdata-sections | 22 | -fomit-frame-pointer -ffunction-sections -fdata-sections |
23 | |||
24 | ifeq ($(CONFIG_DEBUG),y) | ||
25 | CFLAGS += -g | ||
26 | LDFLAGS += -g | ||
27 | endif | ||
28 | |||