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 0261d34..7dd9dc5 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -23,6 +23,9 @@ CFLAGS += \ ifeq ($(CONFIG_DEBUG),y) CFLAGS += -g -LDFLAGS += -g endif +ifeq ($(CONFIG_STATIC),y) +LDFLAGS += -static +endif +LDFLAGS += -nostdlib |