Update the spec configuration.
authordaemyung jang <dm86.jang@samsung.com>
Thu, 10 Apr 2014 04:33:15 +0000 (13:33 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 16 Apr 2014 10:36:14 +0000 (11:36 +0100)
[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.spec

index 6070abc..efa5ac8 100644 (file)
@@ -77,10 +77,10 @@ PREFIX="/usr"
 CXXFLAGS+=" -Wall -g -O2 -DNDEBUG -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
 LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed -Wl,--gc-sections -lgcc_s -lgcc -lpthread"
 
-%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}