diff options
author | Amritanshu <a.pandia1@samsung.com> | 2020-10-07 18:37:33 +0530 |
---|---|---|
committer | Amritanshu <a.pandia1@samsung.com> | 2020-10-07 18:39:44 +0530 |
commit | b2bb98216f92d1b74603af01087bd38e710b5432 (patch) | |
tree | 27de5c45afc7003064045f53c9d0a04db5317ef5 | |
parent | e2b6871f25b68b8a673d4c59a72fc3270986f8b3 (diff) | |
download | taskmanager-b2bb98216f92d1b74603af01087bd38e710b5432.tar.gz taskmanager-b2bb98216f92d1b74603af01087bd38e710b5432.tar.bz2 taskmanager-b2bb98216f92d1b74603af01087bd38e710b5432.zip |
[TIZENIOT-1844]Modified make file to resolve crashtizen_8.0_m2_releasetizen_7.0_src.m2_releasetizen_6.5_src.m2_releasetizen_6.0_src.m2_releasesubmit/tizen_6.5/20211029.123901submit/tizen_6.5/20211028.164201submit/tizen_6.0_hotfix/20201103.115104submit/tizen_6.0_hotfix/20201102.192904submit/tizen_6.0/20201029.205504submit/tizen/20201209.024635submit/tizen/20201007.131717tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen
Change-Id: I977907699e4632458a3df90905a2f006501cbffe
Signed-off-by: Amritanshu <a.pandia1@samsung.com>
-rwxr-xr-x[-rw-r--r--] | Build/flags.mk | 35 |
1 files changed, 27 insertions, 8 deletions
diff --git a/Build/flags.mk b/Build/flags.mk index 9629253..e514e01 100644..100755 --- a/Build/flags.mk +++ b/Build/flags.mk @@ -1,16 +1,35 @@ +# Add tools flags defines -DEBUG_OP = -g3 -D_DEBUG -CPP_DEBUG_OP = -D_DEBUG +ifeq ($(strip $(BUILD_CONFIG)),Debug) +OPTIMIZATION_OP := -O0 +DEBUG_OP := -g3 -D_DEBUG +CPP_OPTIMIZATION_OP := -O0 +CPP_DEBUG_OP := -g3 -D_DEBUG +LINK_OP := +else +ifeq ($(strip $(BUILD_CONFIG)),Release) +OPTIMIZATION_OP := -O3 +DEBUG_OP := +CPP_OPTIMIZATION_OP := -O3 +CPP_DEBUG_OP := +LINK_OP := -s +endif +endif -OPTIMIZATION_OP = -O0 -CPP_OPTIMIZATION_OP = +ifeq ($(STRIP_INFO),off) +LINK_OP := +else +ifeq ($(STRIP_INFO),on) +LINK_OP := -s +endif +endif -COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -fPIC +COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) +CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -std=c++11 -LINK_FLAGS = -shared -Wl,--no-undefined +LINK_FLAGS = -L"$(PROJ_PATH)/lib" -Wl,--no-undefined $(LINK_OP) AR_FLAGS = -EDC_COMPILE_FLAGS = +EDC_COMPILE_FLAGS = -id "$(PROJ_PATH)/edje/images" -sd "$(PROJ_PATH)/edje/sounds" -fd "$(PROJ_PATH)/edje/fonts" |