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