diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-21 06:36:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-21 06:36:43 +0000 |
commit | 3877608afc35d25d49873a5077b2ec14429486e2 (patch) | |
tree | 719864909b9f4214eb4f238b045198a8f33ebc96 /kstars-2.9.6-fix-compilerflag-exceptions.patch | |
parent | 1a9272644654cddcf348c9ddaada6078ed5e2c7b (diff) |
automatic import of kstarsopeneuler23.03
Diffstat (limited to 'kstars-2.9.6-fix-compilerflag-exceptions.patch')
-rw-r--r-- | kstars-2.9.6-fix-compilerflag-exceptions.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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) |