summaryrefslogtreecommitdiff
path: root/scripts/trylink
diff options
context:
space:
mode:
authorDenys Vlasenko2016-06-20 12:23:35 +0200
committerDenys Vlasenko2016-06-20 12:23:35 +0200
commitea9ebc011b3ee9b86b00646b91e73bb860d340b4 (patch)
treeef5c9e7e609c1e702cde8da2621887b4bcdd4718 /scripts/trylink
parentdf3ec0e2f70d67f1f880bee933985732b455ee76 (diff)
downloadbusybox-ea9ebc011b3ee9b86b00646b91e73bb860d340b4.zip
busybox-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/trylink')
-rwxr-xr-xscripts/trylink2
1 files changed, 1 insertions, 1 deletions
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