forked from pool/libvma
Nicolas Morey
6377d097b7
- Add issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch for GCC13 support OBS-URL: https://build.opensuse.org/request/show/1075169 OBS-URL: https://build.opensuse.org/package/show/science:HPC/libvma?expand=0&rev=29
22 lines
816 B
Diff
22 lines
816 B
Diff
commit 24524730a0344c7de1bba2ba9a2bf637bb32153f
|
|
Author: Igor Ivanov <igori@nvidia.com>
|
|
Date: Mon Feb 20 18:05:47 2023 +0200
|
|
|
|
issue: 3373882 Fix compilation issue for gcc 13.0.1
|
|
|
|
Signed-off-by: Igor Ivanov <igori@nvidia.com>
|
|
|
|
diff --git config/m4/compiler.m4 config/m4/compiler.m4
|
|
index 014a01f1ed51..3c93276f7b7c 100644
|
|
--- config/m4/compiler.m4
|
|
+++ config/m4/compiler.m4
|
|
@@ -143,7 +143,7 @@ case $CC in
|
|
-Wno-free-nonheap-object "
|
|
CXXFLAGS="$CXXFLAGS -Wshadow -Wall -Wextra -Werror -Wundef \
|
|
-ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs \
|
|
- -Wno-free-nonheap-object "
|
|
+ -Wno-free-nonheap-object -Wno-overloaded-virtual "
|
|
;;
|
|
icc*|icpc*)
|
|
AC_MSG_RESULT([icc])
|