projects
/
platform
/
core
/
telephony
/
tel-plugin-vconf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d6d54
)
Move -Wl flags to linker flags
author
Nikolai Merinov
<n.merinov@samsung.com>
Wed, 6 Feb 2019 15:15:13 +0000
(18:15 +0300)
committer
Nikolai Merinov
<n.merinov@samsung.com>
Wed, 6 Feb 2019 15:15:13 +0000
(18:15 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 3048b59415404cedf7dc72b95f028320a8bf5487..de34fddb63d3769dba27d6b05aa59289eac83367 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-27,7
+27,8
@@
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter -Wno-missing-field-ini
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ADDITIONAL_CFLAGS}")
### Purge unused code ###
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdata-sections -ffunction-sections -Wl,--gc-sections")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdata-sections -ffunction-sections")
+link_libraries("-Wl,--gc-sections")
ADD_DEFINITIONS("-DFEATURE_TLOG_DEBUG")
ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"SP_VCONF\"")