diff options
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile.flags b/Makefile.flags index c64a5c838..764ce16e8 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -59,27 +59,24 @@ ifeq ($(CONFIG_STATIC),y) | |||
59 | LDFLAGS += -static | 59 | LDFLAGS += -static |
60 | endif | 60 | endif |
61 | 61 | ||
62 | BBOX_LIB_LIST = m crypt | 62 | LDLIBS = m crypt |
63 | 63 | ||
64 | ifeq ($(CONFIG_PAM),y) | 64 | ifeq ($(CONFIG_PAM),y) |
65 | BBOX_LIB_LIST += pam pam_misc | 65 | LDLIBS += pam pam_misc |
66 | endif | 66 | endif |
67 | 67 | ||
68 | ifeq ($(CONFIG_SELINUX),y) | 68 | ifeq ($(CONFIG_SELINUX),y) |
69 | BBOX_LIB_LIST += selinux sepol | 69 | LDLIBS += selinux sepol |
70 | endif | 70 | endif |
71 | 71 | ||
72 | ifeq ($(CONFIG_EFENCE),y) | 72 | ifeq ($(CONFIG_EFENCE),y) |
73 | BBOX_LIB_LIST += efence | 73 | LDLIBS += efence |
74 | endif | 74 | endif |
75 | 75 | ||
76 | ifeq ($(CONFIG_DMALLOC),y) | 76 | ifeq ($(CONFIG_DMALLOC),y) |
77 | BBOX_LIB_LIST += dmalloc | 77 | LDLIBS += dmalloc |
78 | endif | 78 | endif |
79 | 79 | ||
80 | # For scripts/trylink | ||
81 | export BBOX_LIB_LIST | ||
82 | |||
83 | #LDFLAGS += -nostdlib | 80 | #LDFLAGS += -nostdlib |
84 | 81 | ||
85 | LDFLAGS_ELF2FLT = -Wl,-elf2flt | 82 | LDFLAGS_ELF2FLT = -Wl,-elf2flt |