Skip to content

build: Disable default -Werror if source is a git repository

Frediano Ziglio requested to merge fziglio/spice:werror_default into master

By default configure script detected if source directory is a git repository and by default enable -Werror option. This normally detects that you are developing but some build packagers (like rpm spec with git_am option) uses git to manage additional patches on top of source making the detection fail and causing the build to fail. Build packagers should not use -Werror.

Signed-off-by: Frediano Ziglio freddy77@gmail.com

Merge request reports