]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Make some build jobs use -O3 optimizations
authorMichał Kępień <michal@isc.org>
Fri, 31 May 2019 12:34:34 +0000 (14:34 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 11 Jun 2019 08:19:17 +0000 (10:19 +0200)
Change the compiler optimization level for Debian sid build jobs from
-O2 to -O3 in order to enable triggering compilation warnings which are
not raised when -O2 is used.

(cherry picked from commit 356948787517fa254abcc2115adaf77c9048b9d4)

.gitlab-ci.yml

index 308bd0cf966aec24f8c0c8a92b863fe78111e41a..f72e9f5b9861ec3d22da39b852a9aafbed4f7896 100644 (file)
@@ -301,7 +301,7 @@ unit:gcc:stretch:amd64:
 gcc:sid:amd64:
   variables:
     CC: gcc
-    CFLAGS: "-Wall -Wextra -O2 -g"
+    CFLAGS: "-Wall -Wextra -O3 -g"
     EXTRA_CONFIGURE: "--with-libidn2"
     RUN_MAKE_INSTALL: 1
   <<: *debian_sid_amd64_image
@@ -324,7 +324,7 @@ unit:gcc:sid:amd64:
 gcc:sid:i386:
   variables:
     CC: gcc
-    CFLAGS: "-Wall -Wextra -O2 -g"
+    CFLAGS: "-Wall -Wextra -O3 -g"
     EXTRA_CONFIGURE: "--with-libidn2 --without-python"
   <<: *debian_sid_i386_image
   <<: *build_job