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 c64a5c8..764ce16 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -59,27 +59,24 @@ ifeq ($(CONFIG_STATIC),y)
LDFLAGS += -static
endif
-BBOX_LIB_LIST = m crypt
+LDLIBS = m crypt
ifeq ($(CONFIG_PAM),y)
-BBOX_LIB_LIST += pam pam_misc
+LDLIBS += pam pam_misc
endif
ifeq ($(CONFIG_SELINUX),y)
-BBOX_LIB_LIST += selinux sepol
+LDLIBS += selinux sepol
endif
ifeq ($(CONFIG_EFENCE),y)
-BBOX_LIB_LIST += efence
+LDLIBS += efence
endif
ifeq ($(CONFIG_DMALLOC),y)
-BBOX_LIB_LIST += dmalloc
+LDLIBS += dmalloc
endif
-# For scripts/trylink
-export BBOX_LIB_LIST
-
#LDFLAGS += -nostdlib
LDFLAGS_ELF2FLT = -Wl,-elf2flt