projects
/
platform
/
core
/
api
/
peripheral-io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
787ee84
)
Add PIE option to peripheral-io-test
14/144414/1
accepted/tizen/4.0/unified/20170828.223711
accepted/tizen/unified/20170818.001002
submit/tizen/20170817.014135
submit/tizen_4.0/20170828.100002
author
Hyeongsik Min
<hyeongsik.min@samsung.com>
Wed, 16 Aug 2017 12:49:16 +0000
(21:49 +0900)
committer
Hyeongsik Min
<hyeongsik.min@samsung.com>
Wed, 16 Aug 2017 12:49:16 +0000
(21:49 +0900)
Change-Id: I6e0669b4b0a7751d82ffd411006a1f33a9842877
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
test/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/test/CMakeLists.txt
b/test/CMakeLists.txt
index d6f4dee1a4fbd190fe920572931fc4d71c11c03a..e1ba67c794fc15e0943e0b6d755bbcc22722df01 100644
(file)
--- a/
test/CMakeLists.txt
+++ b/
test/CMakeLists.txt
@@
-11,7
+11,8
@@
ENDFOREACH()
SET(SAMPLE_INC_DIR ./samples/include)
INCLUDE_DIRECTORIES(${SAMPLE_INC_DIR})
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fPIE")
+SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
AUX_SOURCE_DIRECTORY(samples sample_sources)
FOREACH(src ${sample_sources})