aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenithal <i@zenithal.me>2022-02-08 07:42:59 +0800
committerGitHub <noreply@github.com>2022-02-07 15:42:59 -0800
commit90191ad93eac47d61ab9cc89084050ad1541d160 (patch)
treeb07b3ca6d9a98c132e4c84dc85a5761deaed2d0d
parent74624f2cd25ad0b30519d4775585ee963cc4b743 (diff)
downloadpk-90191ad93eac47d61ab9cc89084050ad1541d160.zip
pk-90191ad93eac47d61ab9cc89084050ad1541d160.tar.gz
pk-90191ad93eac47d61ab9cc89084050ad1541d160.tar.bz2
Eliminate Wuninitialized for Clang/LLVM (#266)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 81492de..7df0b61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,7 +91,7 @@ AS_IF([test "x$enable_print_device_tree" = "xyes"], [
AC_DEFINE([PK_PRINT_DEVICE_TREE],,[Define if the DTS is to be displayed])
])
-CFLAGS="-Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks -fno-PIE"
+CFLAGS="-Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -Wno-uninitialized -fno-delete-null-pointer-checks -fno-PIE"
LDFLAGS="$LDFLAGS -Wl,--build-id=none"
AC_SUBST(CFLAGS)