aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAsh Benz <ash.benz@bk.ru>2016-08-23 18:07:01 +0800
committerFelix Fietkau <nbd@nbd.name>2016-08-23 12:15:41 +0200
commit798cd261ab8898152f6c8091609671118325d464 (patch)
tree2ad356355096aaaac26e78e6db7e71f0968c094d
parentf5860f898a155c6e1f33813a8be7420135cb3481 (diff)
downloadupstream-798cd261ab8898152f6c8091609671118325d464.tar.gz
upstream-798cd261ab8898152f6c8091609671118325d464.tar.bz2
upstream-798cd261ab8898152f6c8091609671118325d464.zip
hostapd: use printf to improve portability.
Signed-off-by: Ash Benz <ash.benz@bk.ru>
-rw-r--r--package/network/services/hostapd/patches/200-multicall.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/network/services/hostapd/patches/200-multicall.patch b/package/network/services/hostapd/patches/200-multicall.patch
index 8b260c2383..40bd7336ec 100644
--- a/package/network/services/hostapd/patches/200-multicall.patch
+++ b/package/network/services/hostapd/patches/200-multicall.patch
@@ -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 $< $@