16 lines
938 B
Diff
16 lines
938 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index d8cb25b..69b2a55 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -405,8 +405,8 @@ if test "$enable_media_studio_va" = "yes"; then
|
|
[Defined to 1 to enable H265 encoding when --enable-media-studio-va="yes"])
|
|
fi
|
|
|
|
-AC_SUBST([AM_CFLAGS], ["-g -O2 -fPIE -fPIC -fstack-protector -Wall -Wno-unused-function -Wno-cpp -Werror"])
|
|
-AC_SUBST([AM_CXXFLAGS], ["-g -O2 -fPIE -fPIC -fstack-protector -Wall -Wno-unused-function -Wno-cpp -Wno-missing-braces -Werror"])
|
|
+AC_SUBST([AM_CFLAGS], ["-g -O2 -fPIE -fPIC -fstack-protector -Wall -Wno-unused-function -Wno-cpp -Werror -Wno-array-compare -Wno-address"])
|
|
+AC_SUBST([AM_CXXFLAGS], ["-g -O2 -fPIE -fPIC -fstack-protector -Wall -Wno-unused-function -Wno-cpp -Wno-missing-braces -Werror -Wno-array-compare -Wno-address"])
|
|
|
|
#Add flags for SDL signoff called SDL325 - Compile With Defenses Enabled
|
|
AC_SUBST([AM_CPPFLAGS], ["-D_FORTIFY_SOURCE=2"])
|