]> granicus.if.org Git - pdns/commitdiff
Add -Werror=format-security and -D_GLIBCXX_ASSERTIONS on CircleCI
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 8 Jul 2019 14:58:02 +0000 (16:58 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 8 Jul 2019 14:58:02 +0000 (16:58 +0200)
.circleci/config.yml

index fd7b82139410a6456d921037fed046583c23b354..edb6c3a848bcfbe01c6fa2f16e5fe1270418f735 100644 (file)
@@ -454,8 +454,8 @@ jobs:
       - run:
           name: configure
           command: |
-            CFLAGS="-O1 -Werror=vla" \
-            CXXFLAGS="-O1 -Werror=vla" \
+            CFLAGS="-O1 -Werror=vla -Werror=format-security" \
+            CXXFLAGS="-O1 -Werror=vla -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS" \
             ./configure \
               --disable-lua-records \
               --with-modules='bind lmdb ldap gmysql gsqlite3 gpgsql godbc mydns random tinydns' \
@@ -798,8 +798,8 @@ jobs:
       - run:
           name: configure
           command: |
-            CFLAGS="-O1 -Werror=vla" \
-            CXXFLAGS="-O1 -Werror=vla" \
+            CFLAGS="-O1 -Werror=vla -Werror=format-security" \
+            CXXFLAGS="-O1 -Werror=vla -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS" \
             ./configure \
             --enable-unit-tests \
             --enable-nod \
@@ -964,8 +964,8 @@ jobs:
       - run:
           name: configure
           command: |
-            CFLAGS="-O1 -Werror=vla" \
-            CXXFLAGS="-O1 -Werror=vla" \
+            CFLAGS="-O1 -Werror=vla -Werror=format-security" \
+            CXXFLAGS="-O1 -Werror=vla -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS" \
             ./configure \
               --disable-lua-records \
               --with-modules='bind lmdb ldap gmysql gsqlite3 gpgsql godbc mydns random tinydns' \
@@ -1032,8 +1032,8 @@ jobs:
       - run:
           name: configure
           command: |
-            CFLAGS="-O1 -Werror=vla" \
-            CXXFLAGS="-O1 -Werror=vla" \
+            CFLAGS="-O1 -Werror=vla -Werror=format-security" \
+            CXXFLAGS="-O1 -Werror=vla -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS" \
             ./configure \
             --disable-systemd \
             --disable-unit-tests \
@@ -1104,8 +1104,8 @@ jobs:
       - run:
           name: configure
           command: |
-            CFLAGS="-O1 -Werror=vla" \
-            CXXFLAGS="-O1 -Werror=vla" \
+            CFLAGS="-O1 -Werror=vla -Werror=format-security" \
+            CXXFLAGS="-O1 -Werror=vla -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS" \
             ./configure \
             --disable-systemd \
             --disable-unit-tests \
@@ -1176,8 +1176,8 @@ jobs:
       - run:
           name: configure
           command: |
-            CFLAGS="-O1 -Werror=vla" \
-            CXXFLAGS="-O1 -Werror=vla" \
+            CFLAGS="-O1 -Werror=vla -Werror=format-security" \
+            CXXFLAGS="-O1 -Werror=vla -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS" \
             ./configure \
             --enable-unit-tests \
             --enable-dnstap \