aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-06-20 12:23:35 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-06-20 12:23:35 +0200
commitea9ebc011b3ee9b86b00646b91e73bb860d340b4 (patch)
treeef5c9e7e609c1e702cde8da2621887b4bcdd4718 /scripts
parentdf3ec0e2f70d67f1f880bee933985732b455ee76 (diff)
downloadbusybox-ea9ebc011b3ee9b86b00646b91e73bb860d340b4.tar.gz
scripts/trylink: libbusybox fix
gcc 6.1.1 can emit empty line with spaces Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/trylink2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 129570a60..145df9959 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