From 77db2ce656bc49652cb730848b2dea8c444ed3fd Mon Sep 17 00:00:00 2001 From: daemyung jang Date: Thu, 10 Apr 2014 13:33:27 +0900 Subject: [PATCH] Update the spec configuration. [Issue#] N/A [Problem] Not build. [Cause] When the system make the user binary, the debug states are skipped. [Solution] Update spec configuration. --- packaging/dali-adaptor.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 7a2967b..dc9a79e 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -111,10 +111,10 @@ PREFIX+="/usr" CXXFLAGS+=" -Wall -g -O2 -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections " LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections " -%if 0%{?tizen_build_binary_release_type_eng} -export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE" -export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE" -export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE" +%if 0%{?sec_build_binary_debug_enable} +export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" +export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" +export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" %endif %ifarch %{arm} -- 2.7.4