You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
27 lines
1.2 KiB
--- desktop-3.2.0-orig/src/gui/CMakeLists.txt 2021-04-08 18:54:35.506219040 -0400
|
|
+++ desktop-3.2.0/src/gui/CMakeLists.txt 2021-04-08 18:44:45.982858065 -0400
|
|
@@ -256,8 +256,8 @@
|
|
ecm_add_app_icon(final_src ICONS "${OWNCLOUD_ICONS}" SIDEBAR_ICONS "${OWNCLOUD_SIDEBAR_ICONS}" OUTFILE_BASENAME "${APPLICATION_ICON_NAME}")
|
|
|
|
if(UNIX AND NOT APPLE)
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIE")
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
|
|
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
|
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
|
|
endif()
|
|
|
|
--- desktop-3.2.0-orig/src/cmd/CMakeLists.txt 2021-04-08 18:40:13.902337507 -0400
|
|
+++ desktop-3.2.0/src/cmd/CMakeLists.txt 2021-04-08 18:41:51.291490488 -0400
|
|
@@ -17,8 +17,8 @@
|
|
target_include_directories(cmdCore PRIVATE ${CMAKE_SOURCE_DIR}/src/3rdparty/qtokenizer)
|
|
|
|
if(UNIX AND NOT APPLE)
|
|
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIE")
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
|
|
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
|
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
|
|
endif()
|
|
|