sci-electronics/dsview: fix build with GCC 13

Closes: https://bugs.gentoo.org/887877
Closes: https://bugs.gentoo.org/887913
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-10-19 18:03:50 +09:00
parent 84ab309966
commit 015ede5a14
4 changed files with 65 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
https://bugs.gentoo.org/887913
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c40c925..41e5230 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -594,8 +594,6 @@ endif()
set(CMAKE_CXX_FLAGS "-Wall -Wextra")
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_FLAGS_DEBUG "-g")
-set(CMAKE_CXX_FLAGS_RELEASE "-O3")
-add_compile_options(-O3)
#===============================================================================
#= Linker Configuration