Skip to content

Commit 7072d07

Browse files
sync: from linuxdeepin/dtkwidget
Synchronize source files from linuxdeepin/dtkwidget. Source-pull-request: linuxdeepin/dtkwidget#669
1 parent 37dff8c commit 7072d07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.syncexclude

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
linglong.yaml
1111
conanfile.py
1212
VERSION
13+
CHANGELOG.md

dtkwidget.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ if (NOT CMAKE_BUILD_TYPE)
8989
endif()
9090

9191
if(NOT MSVC)
92-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall -Wextra")
93-
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--as-needed")
92+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wextra")
9493
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed -pie")
9594
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
9695
set(BUILD_TESTING ON)

0 commit comments

Comments
 (0)