diff options
author | Austin Schuh <austin.linux@gmail.com> | 2017-11-21 01:56:33 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-11-21 01:57:58 -0800 |
commit | 6d8b8440d5b013e38827c7ed5c065c52ebe5c7ec (patch) | |
tree | e4a88301b50195d6a169bf6406d55d590ee1e98b | |
parent | a5833a8cde9d9d3398f64edae134370f06784cf6 (diff) |
Fix gflags mark_flag_as_required warning.
I'm getting
.../bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/make_deb.runfiles/bazel_tools/third_party/py/gflags/gflags/__init__.py:284: UserWarning: Flag architecture has a non-None default value; therefore, mark_flag_as_required will pass even if flag is not specified in the command line!
'command line!' % flag_name)
So, let's not mark it as required if a default is passed in!
Change-Id: Iad9a3886ce0ff21ce26eb7fa17a986be4c4af5cf
PiperOrigin-RevId: 176480367
-rw-r--r-- | tools/build_defs/pkg/make_deb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_defs/pkg/make_deb.py b/tools/build_defs/pkg/make_deb.py index 54da782cc5..8e81a6f9d1 100644 --- a/tools/build_defs/pkg/make_deb.py +++ b/tools/build_defs/pkg/make_deb.py @@ -31,7 +31,7 @@ DEBIAN_FIELDS = [ ('Version', True, False), ('Section', False, False, 'contrib/devel'), ('Priority', False, False, 'optional'), - ('Architecture', True, False, 'all'), + ('Architecture', False, False, 'all'), ('Depends', False, True, []), ('Recommends', False, True, []), ('Suggests', False, True, []), |