Add new js file in extra dist.
This commit is contained in:
parent
117f771641
commit
e230283f75
2 changed files with 3 additions and 2 deletions
|
@ -819,6 +819,7 @@ js_EXTRA_DIST= \
|
|||
js/binary/decoder.js \
|
||||
js/binary/decoder_test.js \
|
||||
js/binary/encoder.js \
|
||||
js/binary/message_test.js \
|
||||
js/binary/proto_test.js \
|
||||
js/binary/reader.js \
|
||||
js/binary/reader_test.js \
|
||||
|
|
|
@ -191,10 +191,10 @@ if __name__ == '__main__':
|
|||
extra_compile_args.append('-Wno-shorten-64-to-32')
|
||||
|
||||
v, _, _ = platform.mac_ver()
|
||||
if not v:
|
||||
if v:
|
||||
v = float('.'.join(v.split('.')[:2]))
|
||||
if v >= 10.12:
|
||||
extra_compile_args=['-std=c++11'],
|
||||
extra_compile_args.append('-std=c++11')
|
||||
|
||||
if warnings_as_errors in sys.argv:
|
||||
extra_compile_args.append('-Werror')
|
||||
|
|
Loading…
Add table
Reference in a new issue