Change-Id: Ia9b72df3cfcb4b3296a8d7bf9eed7ace5392b965
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
SET(INCLUDEDIR "\${prefix}/include")
## Compiler flags
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Werror -ffunction-sections -fdata-sections -fmerge-all-constants -fPIE")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Werror -ffunction-sections -fdata-sections -fmerge-all-constants -fPIE -fPIC")
## Linker flags
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed,--gc-sections -pie")