summaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags13
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)
59LDFLAGS += -static 59LDFLAGS += -static
60endif 60endif
61 61
62BBOX_LIB_LIST = m crypt 62LDLIBS = m crypt
63 63
64ifeq ($(CONFIG_PAM),y) 64ifeq ($(CONFIG_PAM),y)
65BBOX_LIB_LIST += pam pam_misc 65LDLIBS += pam pam_misc
66endif 66endif
67 67
68ifeq ($(CONFIG_SELINUX),y) 68ifeq ($(CONFIG_SELINUX),y)
69BBOX_LIB_LIST += selinux sepol 69LDLIBS += selinux sepol
70endif 70endif
71 71
72ifeq ($(CONFIG_EFENCE),y) 72ifeq ($(CONFIG_EFENCE),y)
73BBOX_LIB_LIST += efence 73LDLIBS += efence
74endif 74endif
75 75
76ifeq ($(CONFIG_DMALLOC),y) 76ifeq ($(CONFIG_DMALLOC),y)
77BBOX_LIB_LIST += dmalloc 77LDLIBS += dmalloc
78endif 78endif
79 79
80# For scripts/trylink
81export BBOX_LIB_LIST
82
83#LDFLAGS += -nostdlib 80#LDFLAGS += -nostdlib
84 81
85LDFLAGS_ELF2FLT = -Wl,-elf2flt 82LDFLAGS_ELF2FLT = -Wl,-elf2flt