OSDN Git Service

cirrus.yml: Compile FreeBSD with -Werror
authorThomas Huth <thuth@redhat.com>
Wed, 15 Jul 2020 17:47:07 +0000 (19:47 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 3 Sep 2020 10:46:56 +0000 (12:46 +0200)
Compiler warnings currently go unnoticed in our FreeBSD builds, since
-Werror is only enabled for Linux and MinGW builds by default. So let's
enable them here now, too.

Reviewed-by: Ed Maste <emaste@freebsd.org>
Message-Id: <20200728074405.13118-3-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.cirrus.yml

index f287d23..b50da72 100644 (file)
@@ -12,7 +12,7 @@ freebsd_12_task:
   script:
     - mkdir build
     - cd build
-    - ../configure || { cat config.log; exit 1; }
+    - ../configure --enable-werror || { cat config.log; exit 1; }
     - gmake -j8
     - gmake V=1 check