diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-08-16 10:51:37 +0200 |
---|---|---|
committer | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-08-16 12:01:19 +0200 |
commit | 892012b3095bf5a90341c441b757d7d63d3322e6 (patch) | |
tree | bfbae8d1b217380644b877d0742f4a21dc0d7961 /src | |
parent | b064f6d5f3caf4eeec75b7160228de986d0059a7 (diff) | |
download | ejdb-accepted/tizen/4.0/unified/20170828.222604.tar.gz ejdb-accepted/tizen/4.0/unified/20170828.222604.tar.bz2 ejdb-accepted/tizen/4.0/unified/20170828.222604.zip |
Move db tools to a separate package and make them PIEtizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_5.0/20181101.000006submit/tizen_4.0/20170828.100005submit/tizen/20170816.232010accepted/tizen/unified/20170817.153739accepted/tizen/5.0/unified/20181102.025532accepted/tizen/4.0/unified/20170828.222604tizen_5.0tizen_4.0tizenaccepted/tizen_unifiedaccepted/tizen_5.0_unifiedaccepted/tizen_4.0_unified
Change-Id: If834ee66c2390c7023646d313927495332b942ad
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tcbdb/tools/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/tcfdb/tools/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/tchdb/tools/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/tctdb/tools/CMakeLists.txt | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/tcbdb/tools/CMakeLists.txt b/src/tcbdb/tools/CMakeLists.txt index fc1b2bd..b24f0f5 100644 --- a/src/tcbdb/tools/CMakeLists.txt +++ b/src/tcbdb/tools/CMakeLists.txt @@ -2,7 +2,8 @@ link_libraries(ejdb_p) add_executable(jbbmgr jbbmgr.c) set_target_properties(jbbmgr PROPERTIES - COMPILE_FLAGS "-DEJDB_STATIC") + LINK_FLAGS "-Wl,--as-needed -pie" + COMPILE_FLAGS "-DEJDB_STATIC -fPIE") install(TARGETS jbbmgr diff --git a/src/tcfdb/tools/CMakeLists.txt b/src/tcfdb/tools/CMakeLists.txt index 2493f99..02a0a94 100644 --- a/src/tcfdb/tools/CMakeLists.txt +++ b/src/tcfdb/tools/CMakeLists.txt @@ -2,7 +2,8 @@ link_libraries(ejdb_p) add_executable(jbfmgr jbfmgr.c) set_target_properties(jbfmgr PROPERTIES - COMPILE_FLAGS "-DEJDB_STATIC") + LINK_FLAGS "-Wl,--as-needed -pie" + COMPILE_FLAGS "-DEJDB_STATIC -fPIE") install(TARGETS jbfmgr FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR} diff --git a/src/tchdb/tools/CMakeLists.txt b/src/tchdb/tools/CMakeLists.txt index f12e3ed..c59f7b0 100644 --- a/src/tchdb/tools/CMakeLists.txt +++ b/src/tchdb/tools/CMakeLists.txt @@ -1,7 +1,8 @@ link_libraries(ejdb_p) add_executable(jbhmgr jbhmgr.c) set_target_properties(jbhmgr PROPERTIES - COMPILE_FLAGS "-DEJDB_STATIC") + LINK_FLAGS "-Wl,--as-needed -pie" + COMPILE_FLAGS "-DEJDB_STATIC -fPIE") install(TARGETS jbhmgr FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR} diff --git a/src/tctdb/tools/CMakeLists.txt b/src/tctdb/tools/CMakeLists.txt index e819900..39998d1 100644 --- a/src/tctdb/tools/CMakeLists.txt +++ b/src/tctdb/tools/CMakeLists.txt @@ -1,7 +1,8 @@ link_libraries(ejdb_p) add_executable(jbtmgr jbtmgr.c) set_target_properties(jbtmgr PROPERTIES - COMPILE_FLAGS "-DEJDB_STATIC") + LINK_FLAGS "-Wl,--as-needed -pie" + COMPILE_FLAGS "-DEJDB_STATIC -fPIE") install(TARGETS jbtmgr FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR} |