[git commit] scripts/trylink: libbusybox fix

Denys Vlasenko vda.linux at googlemail.com
Mon Jun 20 10:23:35 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=ea9ebc011b3ee9b86b00646b91e73bb860d340b4
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

gcc 6.1.1 can emit empty line with spaces

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/trylink | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/trylink b/scripts/trylink
index 129570a..145df99 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -293,7 +293,7 @@ if test "$CONFIG_FEATURE_INDIVIDUAL" = y; then
     echo "Linking individual applets against libbusybox (see $sharedlib_dir/*)"
     gcc -DNAME_MAIN -E -include include/autoconf.h include/applets.h \
     | grep -v "^#" \
-    | grep -v "^$" \
+    | grep -v "^ *$" \
     > applet_lst.tmp
     while read name main junk; do
 


More information about the busybox-cvs mailing list