Skip to content

Commit

Permalink
build: remove lines with only blanks
Browse files Browse the repository at this point in the history
  • Loading branch information
gabylb committed Apr 23, 2020
1 parent 38b9da7 commit fe0319e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,10 +743,10 @@ def try_check_compiler(cc, lang):
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
except OSError:
return (False, False, '', '')

proc.stdin.write(b'__clang__ __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__ '
b'__clang_major__ __clang_minor__ __clang_patchlevel__')

if sys.platform == 'zos':
values = (to_utf8(proc.communicate()[0]).split('\n')[-2].split() + ['0'] * 7)[0:7]
else:
Expand Down

0 comments on commit fe0319e

Please sign in to comment.