hostapd: use printf to improve portability.

Signed-off-by: Ash Benz <ash.benz@bk.ru>
This commit is contained in:
Ash Benz 2016-08-23 18:07:01 +08:00 committed by Felix Fietkau
parent f5860f898a
commit 798cd261ab

View file

@ -54,10 +54,10 @@
endif
+dump_cflags:
+ @echo -n $(CFLAGS) " "
+ @printf "%s " "$(CFLAGS)"
+
+dump_ldflags:
+ @echo -n $(LDFLAGS) $(LIBS) $(EXTRALIBS) " "
+ @printf "%s " "$(LDFLAGS) $(LIBS) $(EXTRALIBS)"
+
nt_password_hash: $(NOBJS)
$(Q)$(CC) $(LDFLAGS) -o nt_password_hash $(NOBJS) $(LIBS_n)
@ -142,10 +142,10 @@
@$(E) " sed" $<
+dump_cflags:
+ @echo -n $(CFLAGS) " "
+ @printf "%s " "$(CFLAGS)"
+
+dump_ldflags:
+ @echo -n $(LDFLAGS) $(LIBS) $(EXTRALIBS) " "
+ @printf "%s " "$(LDFLAGS) $(LIBS) $(EXTRALIBS)"
+
wpa_supplicant.exe: wpa_supplicant
mv -f $< $@