From 3877608afc35d25d49873a5077b2ec14429486e2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 21 Jul 2023 06:36:43 +0000 Subject: automatic import of kstars --- kstars-2.9.6-fix-compilerflag-exceptions.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 kstars-2.9.6-fix-compilerflag-exceptions.patch (limited to 'kstars-2.9.6-fix-compilerflag-exceptions.patch') diff --git a/kstars-2.9.6-fix-compilerflag-exceptions.patch b/kstars-2.9.6-fix-compilerflag-exceptions.patch new file mode 100644 index 0000000..68c4f61 --- /dev/null +++ b/kstars-2.9.6-fix-compilerflag-exceptions.patch @@ -0,0 +1,13 @@ +diff -Naur kstars-2.9.6/CMakeLists.txt kstars-2.9.6.fix/CMakeLists.txt +--- kstars-2.9.6/CMakeLists.txt 2018-05-26 08:33:31.000000000 +0200 ++++ kstars-2.9.6.fix/CMakeLists.txt 2018-07-19 09:07:06.206283586 +0200 +@@ -357,6 +357,9 @@ + SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address,undefined -fno-omit-frame-pointer") + ENDIF () + ++SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexceptions -fPIC") ++SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -fPIC") ++ + # Unity build support + SET(UNITY_BUILD OFF CACHE BOOL "Enable Unity Build") + INCLUDE(UnityBuild) -- cgit v1.2.3