Skip to content

Commit 40c6f4e

Browse files
chore: clean up CMake configuration by removing unnecessary compiler flags (#63)
* 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. * 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.
1 parent 4a6b1ce commit 40c6f4e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
deepin-ocr (6.5.5) unstable; urgency=medium
2+
3+
* chore: clean up CMake configuration by removing unnecessary compiler flags
4+
5+
-- dengzhongyuan <dengzhongyuan@uniontech.com> Fri, 20 Jun 2025 17:45:00 +0800
6+
17
deepin-ocr (6.5.4) unstable; urgency=medium
28

39
* chore: update CMake configuration for non-sw_64 architectures

src/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ set(CMAKE_AUTOMOC ON)
2929
set(CMAKE_AUTORCC ON)
3030
set(CMAKE_AUTOUIC ON)
3131
set(QtModule Core Gui Widgets DBus LinguistTools)
32-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wl,--as-need -fPIE")
33-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=incompatible-pointer-types -fPIC")
34-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wl,--as-need -fPIE -Wno-error=incompatible-pointer-types")
35-
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
3632

3733
if(DOTEST)
3834
set(QtModule ${QtModule} Test)

0 commit comments

Comments
 (0)