mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
Rename --no-error to --werror and flip default
We should not default to -Werror because that's not what we default to anywhere in gstreamer, and it's bad for releases anyway. The CI will be fixed to pass --werror manually.
This commit is contained in:
parent
3e714d0bae
commit
56130b0edd
1 changed files with 4 additions and 4 deletions
8
setup.py
8
setup.py
|
@ -23,9 +23,9 @@ class GstBuildConfigurer:
|
|||
self.args = args
|
||||
|
||||
def get_configs(self):
|
||||
if self.options.no_error:
|
||||
return []
|
||||
return ['--werror']
|
||||
if self.options.werror:
|
||||
return ['--werror']
|
||||
return []
|
||||
|
||||
def configure_meson(self):
|
||||
if not self.options.reconfigure:
|
||||
|
@ -74,7 +74,7 @@ if __name__ == "__main__":
|
|||
' You can also use `ninja reconfigure` to just'
|
||||
' make sure meson is rerun but the build folder'
|
||||
' is kept.')
|
||||
parser.add_argument("--no-error", action='store_true',
|
||||
parser.add_argument("--werror", action='store_true',
|
||||
default=False, help="Do not error out on warnings")
|
||||
|
||||
options, args = parser.parse_known_args()
|
||||
|
|
Loading…
Reference in a new issue