From: Hwankyu Jhun Date: Tue, 21 Jan 2020 10:33:33 +0000 (+0900) Subject: Fix compile flags of app_launcher tool X-Git-Tag: submit/tizen/20200121.224444~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc81f9da2510ad8b2720820ed75b136d6aac922e;p=platform%2Fcore%2Fappfw%2Faul-1.git Fix compile flags of app_launcher tool - Removes "-fPIE" option Change-Id: I3b88fdbed15fa845151763b1b2acd930288fa223 Signed-off-by: Hwankyu Jhun --- 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")