aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 94ed4e40e..8ea0687c7 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -190,7 +190,7 @@ LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%
190endif 190endif
191 191
192ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y) 192ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y)
193ifeq ($(CONFIG_UNAME_OSNAME),Linux) 193ifneq (,$(findstring linux,$(shell $(CC) $(CFLAGS) -dumpmachine)))
194LDLIBS += resolv 194LDLIBS += resolv
195endif 195endif
196endif 196endif
@@ -218,11 +218,6 @@ LDFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_LDFLAGS)))
218#")) 218#"))
219endif 219endif
220 220
221ifneq ($(CONFIG_EXTRA_LDLIBS),)
222LDLIBS += $(strip $(subst ",,$(CONFIG_EXTRA_LDLIBS)))
223#"))
224endif
225
226# Busybox is a stack-fatty so make sure we increase default size 221# Busybox is a stack-fatty so make sure we increase default size
227# TODO: use "make stksizes" to find & fix big stack users 222# TODO: use "make stksizes" to find & fix big stack users
228# (we stole scripts/checkstack.pl from the kernel... thanks guys!) 223# (we stole scripts/checkstack.pl from the kernel... thanks guys!)