summaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.flags b/Makefile.flags
index b54679047..d8817bed6 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -59,18 +59,25 @@ ifeq ($(CONFIG_STATIC),y)
59LDFLAGS += -static 59LDFLAGS += -static
60endif 60endif
61 61
62BBOX_LIB_LIST = m crypt
62ifeq ($(CONFIG_SELINUX),y) 63ifeq ($(CONFIG_SELINUX),y)
63LDLIBS += -lselinux -lsepol 64#LDLIBS += -lselinux -lsepol
65BBOX_LIB_LIST += selinux sepol
64endif 66endif
65 67
66ifeq ($(CONFIG_EFENCE),y) 68ifeq ($(CONFIG_EFENCE),y)
67LDLIBS += -lefence 69#LDLIBS += -lefence
70BBOX_LIB_LIST += efence
68endif 71endif
69 72
70ifeq ($(CONFIG_DMALLOC),y) 73ifeq ($(CONFIG_DMALLOC),y)
71LDLIBS += -ldmalloc 74#LDLIBS += -ldmalloc
75BBOX_LIB_LIST += dmalloc
72endif 76endif
73 77
78# For scripts/trylink
79export BBOX_LIB_LIST
80
74#LDFLAGS += -nostdlib 81#LDFLAGS += -nostdlib
75 82
76LDFLAGS_ELF2FLT = -Wl,-elf2flt 83LDFLAGS_ELF2FLT = -Wl,-elf2flt