From 5f1799bb750cc1c88d36fafca1886eaa8210148c Mon Sep 17 00:00:00 2001 From: dengzhongyuan Date: Fri, 20 Jun 2025 17:44:08 +0800 Subject: [PATCH 1/2] chore: clean up CMake configuration by removing unnecessary compiler flags - Removed redundant compiler flags from CMakeLists.txt to streamline the build process and improve compatibility. --- src/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cfe74ebd..ccc2c5e0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -29,10 +29,6 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) set(QtModule Core Gui Widgets DBus LinguistTools) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wl,--as-need -fPIE") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=incompatible-pointer-types -fPIC") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wl,--as-need -fPIE -Wno-error=incompatible-pointer-types") -set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie") if(DOTEST) set(QtModule ${QtModule} Test) From 1e8fd10fa951742dab2e22c96513f6ac295b36ac Mon Sep 17 00:00:00 2001 From: dengzhongyuan Date: Fri, 20 Jun 2025 17:45:23 +0800 Subject: [PATCH 2/2] chore: update changelog for version 6.5.5 - Added entry for version 6.5.5, documenting the cleanup of CMake configuration by removing unnecessary compiler flags. --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 5fb06065..77f3403c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +deepin-ocr (6.5.5) unstable; urgency=medium + + * chore: clean up CMake configuration by removing unnecessary compiler flags + + -- dengzhongyuan Fri, 20 Jun 2025 17:45:00 +0800 + deepin-ocr (6.5.4) unstable; urgency=medium * chore: update CMake configuration for non-sw_64 architectures