diff options
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags index 0261d34df..7dd9dc5dd 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -23,6 +23,9 @@ CFLAGS += \ | |||
23 | 23 | ||
24 | ifeq ($(CONFIG_DEBUG),y) | 24 | ifeq ($(CONFIG_DEBUG),y) |
25 | CFLAGS += -g | 25 | CFLAGS += -g |
26 | LDFLAGS += -g | ||
27 | endif | 26 | endif |
28 | 27 | ||
28 | ifeq ($(CONFIG_STATIC),y) | ||
29 | LDFLAGS += -static | ||
30 | endif | ||
31 | LDFLAGS += -nostdlib | ||