From bc81f9da2510ad8b2720820ed75b136d6aac922e Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 21 Jan 2020 19:33:33 +0900 Subject: [PATCH] Fix compile flags of app_launcher tool - Removes "-fPIE" option Change-Id: I3b88fdbed15fa845151763b1b2acd930288fa223 Signed-off-by: Hwankyu Jhun --- tool/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tool/CMakeLists.txt b/tool/CMakeLists.txt index b3cd133..2bd8235 100644 --- a/tool/CMakeLists.txt +++ b/tool/CMakeLists.txt @@ -1,11 +1,11 @@ -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${TEST_CFLAGS} -fPIE") - IF(_TIZEN_FEATURE_PRELINK) -SET(CMAKE_C_FLAGS_app_launcher "${CMAKE_C_FLAGS} ${TEST_CFLAGS} ") +SET(CMAKE_C_FLAGS_app_launcher "${CMAKE_C_FLAGS}") ELSE(_TIZEN_FEATURE_PRELINK) -SET(CMAKE_C_FLAGS_app_launcher "${CMAKE_C_FLAGS} ${TEST_CFLAGS} -fPIE") +SET(CMAKE_C_FLAGS_app_launcher "${CMAKE_C_FLAGS} -fPIE") ENDIF(_TIZEN_FEATURE_PRELINK) +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIE") + add_executable(aul_test aul_test.c) target_link_libraries(aul_test aul ${pkgs_LDFLAGS} "-pie") -- 2.7.4