aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index b3e13713d..7e1c6030c 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -97,7 +97,12 @@ CFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_CFLAGS)))
97#")) 97#"))
98endif 98endif
99 99
100ifneq ($(CONFIG_CROSS_COMPILER_PREFIX),"arm-linux-androideabi-")
100LDLIBS += m crypt 101LDLIBS += m crypt
102else
103# Android libc has no crypt. TODO: make a generic CONFIG_LINK_WITH_CRYPT option?
104LDLIBS += m
105endif
101 106
102ifeq ($(CONFIG_PAM),y) 107ifeq ($(CONFIG_PAM),y)
103LDLIBS += pam pam_misc 108LDLIBS += pam pam_misc