aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml4
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
3 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 07ab1431e..141e43168 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -24,9 +24,9 @@ jobs:
24 steps: 24 steps:
25 - uses: actions/checkout@v2 25 - uses: actions/checkout@v2
26 - name: install dependencies 26 - name: install dependencies
27 run: sudo apt-get install gcc-10 libapparmor-dev libselinux1-dev expect xzdec 27 run: sudo apt-get install gcc-11 libapparmor-dev libselinux1-dev expect xzdec
28 - name: configure 28 - name: configure
29 run: CC=gcc-10 ./configure --enable-fatal-warnings --enable-analyzer --enable-apparmor --enable-selinux --prefix=/usr 29 run: CC=gcc-11 ./configure --enable-fatal-warnings --enable-analyzer --enable-apparmor --enable-selinux --prefix=/usr
30 - name: make 30 - name: make
31 run: make 31 run: make
32 - name: make install 32 - name: make install
diff --git a/configure b/configure
index 246b229ff..b75848bea 100755
--- a/configure
+++ b/configure
@@ -1369,7 +1369,7 @@ Optional Features:
1369 --disable-option-checking ignore unrecognized --enable/--with options 1369 --disable-option-checking ignore unrecognized --enable/--with options
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --enable-analyzer enable GCC 10 static analyzer 1372 --enable-analyzer enable GCC static analyzer
1373 --enable-apparmor enable apparmor 1373 --enable-apparmor enable apparmor
1374 --enable-selinux SELinux labeling support 1374 --enable-selinux SELinux labeling support
1375 --disable-dbusproxy disable dbus proxy 1375 --disable-dbusproxy disable dbus proxy
@@ -3293,7 +3293,7 @@ fi
3293 3293
3294if test "x$enable_analyzer" = "xyes"; then : 3294if test "x$enable_analyzer" = "xyes"; then :
3295 3295
3296 EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer" 3296 EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer -Wno-analyzer-malloc-leak"
3297 3297
3298fi 3298fi
3299 3299
diff --git a/configure.ac b/configure.ac
index 606f4ef7e..4af69766d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,9 @@ AX_CHECK_COMPILE_FLAG(
40) 40)
41 41
42AC_ARG_ENABLE([analyzer], 42AC_ARG_ENABLE([analyzer],
43 AS_HELP_STRING([--enable-analyzer], [enable GCC 10 static analyzer])) 43 AS_HELP_STRING([--enable-analyzer], [enable GCC static analyzer]))
44AS_IF([test "x$enable_analyzer" = "xyes"], [ 44AS_IF([test "x$enable_analyzer" = "xyes"], [
45 EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer" 45 EXTRA_CFLAGS="$EXTRA_CFLAGS -fanalyzer -Wno-analyzer-malloc-leak"
46]) 46])
47 47
48HAVE_APPARMOR="" 48HAVE_APPARMOR=""